summaryrefslogtreecommitdiff
path: root/debian/itzks-systems-common.postinst
diff options
context:
space:
mode:
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