Changeset 90530ec for debian/python3-gnuboat.prerm
- Timestamp:
- Aug 9, 2017, 3:40:24 PM (9 years ago)
- Branches:
- debian/bullseye, debian/jessie
- Children:
- ba861c4
- Parents:
- 1bdb08d
- git-author:
- Joachim Langenbach <joachim.langenbach@…> (08/08/17 14:40:50)
- git-committer:
- Joachim Langenbach <joachim.langenbach@…> (08/09/17 15:40:24)
- File:
-
- 1 edited
-
debian/python3-gnuboat.prerm (modified) (1 diff, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
debian/python3-gnuboat.prerm
-
Property mode
changed from
120000to100644
r1bdb08d r90530ec 1 python2-gnuboat.prerm 1 #!/bin/sh 2 set -e 3 4 DIR_DATA="/var/lib/gnuboat/" 5 DIR_LOG="/var/log/gnuboat/" 6 DIR_SPOOL="/var/spool/gnuboat" 7 8 rm -R "${DIR_SPOLL}" 9 10 if [ "$(ls -A ${DIR_DATA})" ]; then 11 # do not remove the data directory 12 echo "Your data directory (${DIR_DATA}) is not empty. Leaving the data directory untouched!" 13 else 14 rm -R "${DIR_DATA}" 15 fi 16 17 if [ "$(ls -A ${DIR_LOG})" ]; then 18 # do not remove the data directory 19 echo "Your log directory (${DIR_LOG}) is not empty. Leaving the log directory untouched!" 20 else 21 rm -R "${DIR_LOG}" 22 fi 23 24 #DEBHELPER# 25 26 exit 0 -
Property mode
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
