postrm.in 317 Bytes
Newer Older
1
#!/bin/sh
2
if test "$1" = "upgrade" ; then
3 4 5 6 7 8 9 10 11 12 13 14
  exit 0
fi
NEWDIRS_SEMI="@deb_add_dirs@"
NEWDIRS=`echo ${NEWDIRS_SEMI} | sed 's/;/ /g'`
BASEDIR=@CPACK_INSTALL_PREFIX@
#echo "will create the remove directories:"
for d in ${NEWDIRS}; do
#  echo "${BASEDIR}${d}"
   rm -r ${BASEDIR}${d} > /dev/null 2> /dev/null
done
exit 0