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/changelog | 8 ++++++++ debian/itzks-systems-common.postinst | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index b62284c..bbebae5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +itzks-systems (2015.07.15.2) UNRELEASED; urgency=medium + + * debian/itzks-systems-common.postinst: + + For Wine fixes installation: don't use type -p, replaced by + which. + + -- Mike Gabriel Wed, 15 Jul 2015 13:02:03 +0200 + itzks-systems (2015.07.15.1) unstable; urgency=medium * debian/control: 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