Skip to content
This repository
Browse code

[fix] package: manpage should be uninstalled

  • Loading branch information...
commit 7affb208f590dfa70a9ac147ea78d024ee0e3bc4 1 parent b6f6cc6
Quentin Bourgerie authored January 09, 2012

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  make_package.sh
3  make_package.sh
@@ -207,7 +207,7 @@ EOF
207 207
   cat >>"$INSTALLDIR/share/opa/uninstall.sh" <<"EOF"
208 208
 cd $P
209 209
 
210  
-for DIR in "$INSTALLDIR/share/opa" "$INSTALLDIR/share/doc/opa" "$INSTALLDIR/lib/opa"; do
  210
+for DIR in "$INSTALLDIR/share/opa" "$INSTALLDIR/share/man" "$INSTALLDIR/share/doc/opa" "$INSTALLDIR/lib/opa"; do
211 211
   R=0
212 212
   find $DIR \( -type d -empty \) -delete || R=$?
213 213
   if [ $R -ne 0 ] || [ -d $DIR ]; then
@@ -216,6 +216,7 @@ for DIR in "$INSTALLDIR/share/opa" "$INSTALLDIR/share/doc/opa" "$INSTALLDIR/lib/
216 216
 done
217 217
 
218 218
 set +e
  219
+rmdir "$INSTALLDIR/share/man" 2>/dev/null
219 220
 rmdir "$INSTALLDIR/share/doc" 2>/dev/null
220 221
 rmdir "$INSTALLDIR/share" 2>/dev/null
221 222
 rmdir "$INSTALLDIR/lib" 2>/dev/null

0 notes on commit 7affb20

Please sign in to comment.
Something went wrong with that request. Please try again.