aboutsummaryrefslogtreecommitdiff
path: root/simplepkg.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'simplepkg.SlackBuild')
-rwxr-xr-xsimplepkg.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/simplepkg.SlackBuild b/simplepkg.SlackBuild
index 0d3a2c8..fb790d6 100755
--- a/simplepkg.SlackBuild
+++ b/simplepkg.SlackBuild
@@ -52,6 +52,7 @@ chmod +x $PACK_DIR/etc/$PACKAGE/vserver.s/*.sh
chmod +x $PACK_DIR/etc/$PACKAGE/vserver-legacy.s/*.sh
cp conf/simplepkg.conf.new $PACK_DIR/etc/$PACKAGE
cp conf/repos.conf.new $PACK_DIR/etc/$PACKAGE
+cp conf/createpkg.conf.new $PACK_DIR/etc/$PACKAGE
cd $PACK_DIR/usr/sbin && ln -s jail-upgrade vserver-upgrade
cd -
@@ -60,3 +61,7 @@ chown -R root.root *
makepkg -c y -l y ../simplepkg-$VERSION-$ARCH-$BUILD.tgz
cd ..
+
+if [ "$CLEANUP" != "no" ]; then
+ rm -rf $PACK_DIR
+fi