summaryrefslogtreecommitdiffstats
path: root/source/n/autofs/autofs.SlackBuild
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2019-10-07 23:31:57 +0000
committer Eric Hameleers <alien@slackware.com>2019-10-08 08:59:48 +0200
commit1bfc1a110ba1db457cc2dfca57c9a238317a7843 (patch)
tree889bc3a528551cd57760791d87db2fc93a2d1d40 /source/n/autofs/autofs.SlackBuild
parent26218f8f1e3682a41af31836d0b67f32eeeac9f5 (diff)
downloadcurrent-1bfc1a110ba1db457cc2dfca57c9a238317a7843.tar.gz
current-1bfc1a110ba1db457cc2dfca57c9a238317a7843.tar.xz
Mon Oct 7 23:31:57 UTC 201920191007233157
a/kernel-generic-4.19.78-x86_64-1.txz: Upgraded. a/kernel-huge-4.19.78-x86_64-1.txz: Upgraded. a/kernel-modules-4.19.78-x86_64-1.txz: Upgraded. d/kernel-headers-4.19.78-x86-1.txz: Upgraded. d/meson-0.52.0-x86_64-1.txz: Upgraded. d/python-setuptools-41.4.0-x86_64-1.txz: Upgraded. k/kernel-source-4.19.78-noarch-1.txz: Upgraded. l/gvfs-1.42.1-x86_64-1.txz: Upgraded. l/imagemagick-6.9.10_68-x86_64-1.txz: Upgraded. n/autofs-5.1.6-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to '')
-rwxr-xr-xsource/n/autofs/autofs.SlackBuild9
1 files changed, 2 insertions, 7 deletions
diff --git a/source/n/autofs/autofs.SlackBuild b/source/n/autofs/autofs.SlackBuild
index 6ff852123..0b7190588 100755
--- a/source/n/autofs/autofs.SlackBuild
+++ b/source/n/autofs/autofs.SlackBuild
@@ -109,7 +109,7 @@ chmod 644 $PKG/etc/rc.d/rc.autofs.new
sed -i "s|/etc/sysconfig|/etc/default|g" $PKG/etc/rc.d/rc.autofs.new
# Install sample config files:
-for file in auto.master auto.misc auto.net auto.smb autofs_ldap_auth.conf default/autofs ; do
+for file in auto.master auto.misc auto.net auto.smb autofs_ldap_auth.conf ; do
cp -a samples/$file $PKG/etc/${file}
chown root:root $PKG/etc/${file}
chmod 644 $PKG/etc/${file}
@@ -121,21 +121,16 @@ mkdir -p $PKG/etc/default
cp -a samples/autofs.init.conf $PKG/etc/default/autofs.new
chown root:root $PKG/etc/default/autofs.new
chmod 644 $PKG/etc/default/autofs.new
-# Fix typo:
-sed -i "s/syatem/system/g" $PKG/etc/default/autofs.new
# Fix perms on some config files:
chmod 755 $PKG/etc/auto.smb $PKG/etc/auto.net
chmod 600 $PKG/etc/autofs_ldap_auth.conf
# Prep the config files:
-for file in auto.master auto.misc autofs.conf autofs_ldap_auth.conf default/autofs ; do
+for file in auto.master auto.misc autofs.conf autofs_ldap_auth.conf ; do
mv $PKG/etc/$file $PKG/etc/${file}.new
done
-# Fix a typo that's harmless but ugly:
-sed -i "s/syatem/system/g" $PKG/etc/default/autofs.new
-
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null