aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-03-14 14:40:14 -0400
committerB. Watson <yalhcru@gmail.com>2022-03-17 12:38:15 -0400
commit6b512cb169bb6e64991c11c5e3b362e39b3c73a2 (patch)
treedac6a87e2fddce0bce7a0b37d496864b9c7ddfde /academic
parentf9882dd983d4f723dae2a20647699347120215d2 (diff)
academic/root: Actually install doinst.sh.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'academic')
-rw-r--r--academic/root/root.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/academic/root/root.SlackBuild b/academic/root/root.SlackBuild
index 446345ce86494..9725527197b55 100644
--- a/academic/root/root.SlackBuild
+++ b/academic/root/root.SlackBuild
@@ -33,9 +33,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# 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
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -72,9 +69,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# prefix where to install stuff
PREFIX=/opt/ROOT-${VERSION}
@@ -254,6 +251,7 @@ echo "$PREFIX/lib" > $PKG/etc/ld.so.conf.d/root.conf
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE