[Pkg-octave-commit] [SCM] Debian packaging for octave branch, master, updated. debian/3.4.3-4-17-g709bfee
Sébastien Villemot
sebastien.villemot at ens.fr
Sat Mar 3 16:07:57 UTC 2012
The following commit has been merged in the master branch:
commit 709bfee3ec2d64a7cf994a645aa61a1303454ad2
Author: Sébastien Villemot <sebastien.villemot at ens.fr>
Date: Sat Mar 3 16:40:03 2012 +0100
debian/octave.postrm: fix piuparts uninstallation error
If the directory /usr/share/octave/packages does not exist, we still want to
try to remove /usr/share/octave.
diff --git a/debian/octave.postrm b/debian/octave.postrm
index 80c9575..4ba9181 100644
--- a/debian/octave.postrm
+++ b/debian/octave.postrm
@@ -8,7 +8,7 @@ if [ "$1" = purge ] ; then
# Remove the packages database file
rm -f /usr/share/octave/octave_packages
# Remove the directories, if we can
- rmdir /usr/share/octave/packages/ 2>/dev/null \
- && rmdir /usr/share/octave/ 2>/dev/null || true
+ rmdir /usr/share/octave/packages/ 2>/dev/null || true
+ rmdir /usr/share/octave/ 2>/dev/null || true
fi
--
Debian packaging for octave
More information about the Pkg-octave-commit
mailing list