summaryrefslogtreecommitdiff
path: root/debian/itzks-systems-common.postinst
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-07-15 13:02:49 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-07-15 13:02:49 +0200
commit66324131a8fbfe96f96d68b005ba7e420925c8b1 (patch)
tree5e7a7aa669bd03f18209929de8e32c3e92be5934 /debian/itzks-systems-common.postinst
parente7aa1211d0d7d80852804a48dce7161d783e1462 (diff)
downloaditzks-systems-66324131a8fbfe96f96d68b005ba7e420925c8b1.tar.gz
itzks-systems-66324131a8fbfe96f96d68b005ba7e420925c8b1.tar.bz2
itzks-systems-66324131a8fbfe96f96d68b005ba7e420925c8b1.zip
debian/itzks-systems-common.postinst: For Wine fixes installation: don't use type -p, replaced by which.
Diffstat (limited to 'debian/itzks-systems-common.postinst')
-rwxr-xr-xdebian/itzks-systems-common.postinst2
1 files changed, 1 insertions, 1 deletions
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