diff options
Diffstat (limited to 'system/slackrepo/slackrepo.SlackBuild')
-rw-r--r-- | system/slackrepo/slackrepo.SlackBuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/system/slackrepo/slackrepo.SlackBuild b/system/slackrepo/slackrepo.SlackBuild index 39b0a7f1d7589..3e8a6763bb495 100644 --- a/system/slackrepo/slackrepo.SlackBuild +++ b/system/slackrepo/slackrepo.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=slackrepo -VERSION=${VERSION:-20230909} +VERSION=${VERSION:-20230915} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -65,7 +65,7 @@ install -m0755 $PRGNAM $PKG/usr/sbin ( cd $PKG/usr/bin - ln -s ../sbin/slackrepo + ln -s ../sbin/slackrepo slackrepo ) sed -i "s/%PKGID%/$PRGNAM-$VERSION/" $PKG/usr/sbin/$PRGNAM @@ -73,6 +73,8 @@ sed -i "s/%PKGID%/$PRGNAM-$VERSION/" $PKG/usr/sbin/$PRGNAM mkdir -p $PKG/etc cp -a etc $PKG/etc/$PRGNAM mv $PKG/etc/$PRGNAM/sudoers.d $PKG/etc/ +chmod 0750 $PKG/etc/sudoers.d +chmod 0640 $PKG/etc/sudoers.d/$PRGNAM find $PKG/etc -type f -print0 | xargs -0 -I xx mv xx xx.new |