aboutsummaryrefslogtreecommitdiff
path: root/system/grub4dos
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-05-28 02:15:56 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-06-03 10:38:31 +0700
commitb3be7d29dc05947e0b15b4e6a2247c3ad83a4323 (patch)
tree384634512f723990133f89d2fa610ccb4ec00f3d /system/grub4dos
parentd85cecb894f07d8d7b412f516d2abbf7801478fa (diff)
system/grub4dos: Fix ARCH.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/grub4dos')
-rw-r--r--system/grub4dos/grub4dos.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/system/grub4dos/grub4dos.SlackBuild b/system/grub4dos/grub4dos.SlackBuild
index d0a323e78e6d..e865e018032a 100644
--- a/system/grub4dos/grub4dos.SlackBuild
+++ b/system/grub4dos/grub4dos.SlackBuild
@@ -15,12 +15,11 @@ PKGTYPE=${PKGTYPE:-tgz}
TARVERSION=$(echo $VERSION | tr '_' '-')
SRCVERSION=$(echo $VERSION | cut -f1 -d_ )
-# Now using the precompiled binary since Grub4dos doesn't build on other archs anyway
-ARCH="i386"
+# Now using the precompiled binary since Grub4dos doesn't build on other archs anyway.
+# 20230528 bkw: no more i386 or i486, Slackware hasn't supported them in ages. This
+# is just cosmetic, anyway.
+ARCH="i586"
-# 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
@@ -46,9 +45,9 @@ cd $PRGNAM-$SRCVERSION
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 \
+ -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} +
# bootlace.com is a hybrid DOS/Linux executable for installing grub4dos to MBR/PBR
mkdir -p $PKG/usr/sbin