#!/bin/sh
# -*- coding: utf-8; indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
# vim:fileencodings=utf-8:expandtab:tabstop=4:shiftwidth=4:softtabstop=4

set -x
        
# Prevent keyboard layout conflict when boot-up first time. (LP: #1060673)
udevadm trigger --subsystem-match=input --action=change

# Update the database for software-center (LP: #1029856)
. /etc/default/locale
export LANG
export LANGUAGE
if [ -x /usr/sbin/update-software-center ]; then
    update-software-center
fi

# TODO: how to refresh with ubuntu-software in 16.04?
