From 66324131a8fbfe96f96d68b005ba7e420925c8b1 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 15 Jul 2015 13:02:49 +0200 Subject: debian/itzks-systems-common.postinst: For Wine fixes installation: don't use type -p, replaced by which. --- debian/itzks-systems-common.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian/itzks-systems-common.postinst') diff --git a/debian/itzks-systems-common.postinst b/debian/itzks-systems-common.postinst index 7b84520..a2e7da4 100755 --- a/debian/itzks-systems-common.postinst +++ b/debian/itzks-systems-common.postinst @@ -30,7 +30,7 @@ case "$1" in 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 which 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 -- cgit v1.2.3