summaryrefslogtreecommitdiff
path: root/debian/itzks-systems-smartboard.postinst
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-04-03 21:01:53 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-04-03 21:01:53 +0200
commit0701f174cec69605b087ddea9586909fd993d9ce (patch)
tree51c143f1581033549d56df25186e019891a03e17 /debian/itzks-systems-smartboard.postinst
parent2f9fd0256e9ef7b8cc320e9d756f4421d710bcac (diff)
downloaditzks-systems-0701f174cec69605b087ddea9586909fd993d9ce.tar.gz
itzks-systems-0701f174cec69605b087ddea9586909fd993d9ce.tar.bz2
itzks-systems-0701f174cec69605b087ddea9586909fd993d9ce.zip
debian/itzks-systems-smartboard: Create /skole folder on Debian Edu / Skolelinux systems if not already present.
Diffstat (limited to 'debian/itzks-systems-smartboard.postinst')
-rwxr-xr-xdebian/itzks-systems-smartboard.postinst4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/itzks-systems-smartboard.postinst b/debian/itzks-systems-smartboard.postinst
index e49f1d1..13704f2 100755
--- a/debian/itzks-systems-smartboard.postinst
+++ b/debian/itzks-systems-smartboard.postinst
@@ -148,6 +148,10 @@ case "$1" in
else
echo "Group itzks-smartboard already exists." 1>&2
fi
+
+ if [ -d /usr/share/doc/debian-edu-config ] && [ ! -d /skole ]; then
+ mkdir -p /skole
+ fi
;;
abort-upgrade|abort-remove|abort-deconfigure)