From b3be7d29dc05947e0b15b4e6a2247c3ad83a4323 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 28 May 2023 02:15:56 -0400 Subject: system/grub4dos: Fix ARCH. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- system/grub4dos/grub4dos.SlackBuild | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'system/grub4dos') 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 -- cgit v1.2.3