Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[fix] package: manpage should be uninstalled

  • Loading branch information...
commit 7affb208f590dfa70a9ac147ea78d024ee0e3bc4 1 parent b6f6cc6
@BourgerieQuentin BourgerieQuentin authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  make_package.sh
View
3  make_package.sh
@@ -207,7 +207,7 @@ EOF
cat >>"$INSTALLDIR/share/opa/uninstall.sh" <<"EOF"
cd $P
-for DIR in "$INSTALLDIR/share/opa" "$INSTALLDIR/share/doc/opa" "$INSTALLDIR/lib/opa"; do
+for DIR in "$INSTALLDIR/share/opa" "$INSTALLDIR/share/man" "$INSTALLDIR/share/doc/opa" "$INSTALLDIR/lib/opa"; do
R=0
find $DIR \( -type d -empty \) -delete || R=$?
if [ $R -ne 0 ] || [ -d $DIR ]; then
@@ -216,6 +216,7 @@ for DIR in "$INSTALLDIR/share/opa" "$INSTALLDIR/share/doc/opa" "$INSTALLDIR/lib/
done
set +e
+rmdir "$INSTALLDIR/share/man" 2>/dev/null
rmdir "$INSTALLDIR/share/doc" 2>/dev/null
rmdir "$INSTALLDIR/share" 2>/dev/null
rmdir "$INSTALLDIR/lib" 2>/dev/null
Please sign in to comment.
Something went wrong with that request. Please try again.