diff options
Diffstat (limited to 'debian')
| -rw-r--r-- | debian/changelog | 6 | ||||
| -rw-r--r-- | debian/itzks-systems-common.install | 3 | ||||
| -rwxr-xr-x | debian/itzks-systems-common.postinst | 37 | 
3 files changed, 44 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index db6dbfd..1af5eed 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,9 +1,13 @@ -itzks-systems (2015.07.14.1) UNRELEASED; urgency=medium +itzks-systems (2015.07.15.1) UNRELEASED; urgency=medium    * debian/control:      + Add to D (itzks-systems-virtman): ganeti-os-noop.      + Add to D (itzks-systems-diskless): gstreamer1.0-plugins-bad,        gstreamer1.0-plugins-good, gstreamer1.0-plugins-ugly, gstreamer1.0-libav. +  * Wine desktop UI fixes: +    + Add wine.desktop and MIME relevant files for Wine, so that Wine can get +      launched via Caja and other file browsers (DIRTY HACK! in +      itzks-systems-common).   -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de>  Tue, 14 Jul 2015 18:01:00 +0200 diff --git a/debian/itzks-systems-common.install b/debian/itzks-systems-common.install index ab60b99..cdf8964 100644 --- a/debian/itzks-systems-common.install +++ b/debian/itzks-systems-common.install @@ -6,4 +6,5 @@ etc/standardskriver.cfg etc/  etc/xdg/autostart/standardskriver.desktop etc/xdg/autostart/  bin/passwd usr/bin/  bin/standardskriver usr/bin/ -sbin/itzks-systems.do_preseed
\ No newline at end of file +sbin/itzks-systems.do_preseed +share/itzks-systems-common/ usr/share/
\ No newline at end of file diff --git a/debian/itzks-systems-common.postinst b/debian/itzks-systems-common.postinst index 79104ca..7b84520 100755 --- a/debian/itzks-systems-common.postinst +++ b/debian/itzks-systems-common.postinst @@ -29,6 +29,43 @@ case "$1" in  		# write the school name to an /etc/ file  		echo $RET 1> /etc/debian-edu/itzks.school +		# deploy Wine desktop fixes if Wine is installed +		if type -p wine 1>/dev/null; then +			if [ ! -e /usr/share/applications/wine.desktop ]; then +				cp /usr/share/itzks-systems-common/wine-fixes/wine.desktop /usr/share/applications/wine.desktop +			fi +			if [ ! -e /usr/share/pixmaps/wine.xpm ]; then +				cp /usr/share/itzks-systems-common/wine-fixes/wine.xpm /usr/share/pixmaps/wine.xpm +			fi +			if [ ! -e /usr/share/mime-info/wine.keys ]; then +				cp /usr/share/itzks-systems-common/wine-fixes/wine.keys /usr/share/mime-info/wine.keys +			fi +			if [ ! -e /usr/share/mime-info/wine.mime ]; then +				cp /usr/share/itzks-systems-common/wine-fixes/wine.mime /usr/share/mime-info/wine.mime +			fi +			if [ ! -e /usr/lib/mime/packages/wine-bin ]; then +				cp /usr/share/itzks-systems-common/wine-fixes/wine-bin /usr/lib/mime/packages/wine-bin +			fi +			update-desktop-database +		else +			if [ -e /usr/share/applications/wine.desktop ]; then +				rm -f /usr/share/applications/wine.desktop +			fi +			if [ -e /usr/share/pixmaps/wine.xpm ]; then +				rm -f /usr/share/pixmaps/wine.xpm +			fi +			if [ -e /usr/share/mime-info/wine.keys ]; then +				rm -f /usr/share/mime-info/wine.keys +			fi +			if [ -e /usr/share/mime-info/wine.mime ]; then +				rm -f /usr/share/mime-info/wine.mime +			fi +			if [ -e /usr/lib/mime/packages/wine-bin ]; then +				rm -f /usr/lib/mime/packages/wine-bin +			fi +			update-desktop-database +		fi +  		;;  	abort-upgrade|abort-remove|abort-deconfigure)  | 
