diff options
Diffstat (limited to 'debian/itzks-systems-common.postinst')
-rwxr-xr-x | debian/itzks-systems-common.postinst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/itzks-systems-common.postinst b/debian/itzks-systems-common.postinst index 4c0964b..b2753c3 100755 --- a/debian/itzks-systems-common.postinst +++ b/debian/itzks-systems-common.postinst @@ -29,6 +29,21 @@ case "$1" in # write the school name to an /etc/ file echo $RET 1> /etc/debian-edu/itzks.school + # interim solution for missing desktop icons for our "Webbrowser" desktop link + find /usr/share/icons/hicolor -name firefox-esr.png | while read icon_file; do + cd $(dirname $icon_file) + if [ ! -e "iceweasel.png" ]; then + ln -s $(basename $icon_file) iceweasel.png + fi + cd - 1>/dev/null + done + if which update-icon-cache 1>/dev/null; then + update-icon-cache /usr/share/icons/hicolor + fi + if update-icon-cache.gtk2 1>/dev/null; then + update-icon-cache.gtk2 /usr/share/icons/hicolor + fi + # deploy Wine desktop fixes if Wine is installed if which update-desktop-database 1>/dev/null && which wine 1>/dev/null; then if [ ! -e /usr/share/applications/wine.desktop ]; then |