diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-04-03 21:01:53 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-04-03 21:01:53 +0200 |
commit | 0701f174cec69605b087ddea9586909fd993d9ce (patch) | |
tree | 51c143f1581033549d56df25186e019891a03e17 | |
parent | 2f9fd0256e9ef7b8cc320e9d756f4421d710bcac (diff) | |
download | itzks-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.
-rw-r--r-- | debian/changelog | 3 | ||||
-rwxr-xr-x | debian/itzks-systems-smartboard.postinst | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index f8a460b..83cdf2f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,9 @@ itzks-systems (2015.04.03.1) UNRELEASED; urgency=medium * debian/control: + Drop from R (itzks-systems-smartboard): xscreensaver. + Drop from C (itzks-systems-smartboard): mate-screensaver. + * debian/itzks-systems-smartboard: + + Create /skole folder on Debian Edu / Skolelinux systems if + not already present. -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Fri, 03 Apr 2015 20:53:27 +0200 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) |