summaryrefslogtreecommitdiff
path: root/source/a/pkgtools/pkgtools.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/pkgtools/pkgtools.SlackBuild')
-rwxr-xr-xsource/a/pkgtools/pkgtools.SlackBuild19
1 files changed, 12 insertions, 7 deletions
diff --git a/source/a/pkgtools/pkgtools.SlackBuild b/source/a/pkgtools/pkgtools.SlackBuild
index 0937267d..bdcb11ac 100755
--- a/source/a/pkgtools/pkgtools.SlackBuild
+++ b/source/a/pkgtools/pkgtools.SlackBuild
@@ -30,7 +30,7 @@ PKGNAM=pkgtools
# *** UPDATE THESE WITH EACH BUILD:
VERSION=15.0
ARCH=${ARCH:-noarch}
-BUILD=${BUILD:-19}
+BUILD=${BUILD:-20}
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
@@ -80,19 +80,24 @@ mkdir -p $PKG
chown root:root $PKG/sbin/*
chmod 755 $PKG/sbin/*
# These scripts are used during the installation:
- mkdir -p $PKG/var/log/setup/tmp
- chmod 700 $PKG/var/log/setup/tmp
+ mkdir -p $PKG/var/lib/pkgtools/setup/tmp
+ chmod 700 $PKG/var/lib/pkgtools/setup/tmp
for file in setup.* ; do
- cp -a $file $PKG/var/log/setup
+ cp -a $file $PKG/var/lib/pkgtools/setup
done
- chown root:root $PKG/var/log/setup/setup.*
- chmod 755 $PKG/var/log/setup/setup.*
+ chown root:root $PKG/var/lib/pkgtools/setup/setup.*
+ chmod 755 $PKG/var/lib/pkgtools/setup/setup.*
# Add a link for makebootstick:
- ( cd $PKG/sbin ; ln -sf ../var/log/setup/setup.80.make-bootdisk makebootstick )
+ ( cd $PKG/sbin ; ln -sf ../var/lib/pkgtools/setup/setup.80.make-bootdisk makebootstick )
)
+# Create the base directories (not really necessary, but doesn't hurt):
+mkdir -p $PKG/var/lib/pkgtools/{packages,scripts}
+mkdir -p $PKG/var/log/pkgtools/{removed_packages,removed_scripts}
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh
# Build the package:
cd $PKG