diff options
-rwxr-xr-x | libtheora/libtheora.SlackBuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libtheora/libtheora.SlackBuild b/libtheora/libtheora.SlackBuild index 9c5d9c28..a04796d9 100755 --- a/libtheora/libtheora.SlackBuild +++ b/libtheora/libtheora.SlackBuild @@ -126,6 +126,7 @@ echo 'chroot . /sbin/ldconfig' > install/doinst.sh makepkg -l y -c n $REPOS/$NAME-$VERSION-$ARCH-$BUILD.tgz -if [ "$1" = "--cleanup" ]; then - rm -rf $TMP +if [ "$CLEANUP" == "yes" ]; then + rm -rf $TMP fi + |