From f098bd5c9456370e00cea02c81eea27dc5958159 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Wed, 9 Aug 2017 22:53:10 +0100 Subject: network/hostapd: Fixed config files in SlackBuild. Because hostapd.conf matches both globs, it was added twice, with an extra bogus line in doinst.sh. Signed-off-by: David Spencer --- network/hostapd/hostapd.SlackBuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'network/hostapd/hostapd.SlackBuild') diff --git a/network/hostapd/hostapd.SlackBuild b/network/hostapd/hostapd.SlackBuild index f72a8ae05d..276d29a6b5 100644 --- a/network/hostapd/hostapd.SlackBuild +++ b/network/hostapd/hostapd.SlackBuild @@ -88,10 +88,10 @@ install -D -m 0755 $CWD/rc.hostapd $PKG/etc/rc.d/rc.hostapd.new DOINST_TMP=$(mktemp) # temporary holding place for i in \ - hostapd.??* *.conf + $(echo hostapd.??* *.conf | xargs -n1 | sort -u) do - cat $i > $PKG/etc/hostapd/$i.new ; - chmod 0600 $PKG/etc/hostapd/$i.new ; + cat $i > $PKG/etc/hostapd/$i.new + chmod 0600 $PKG/etc/hostapd/$i.new echo "config etc/hostapd/$i.new" >> $DOINST_TMP done -- cgit v1.2.3