diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2017-08-09 22:53:10 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-08-12 06:57:51 +0700 |
commit | f098bd5c9456370e00cea02c81eea27dc5958159 (patch) | |
tree | bb14b8a80c0a960806113e469835352442660e3e | |
parent | b8c85d543c572f3594875d310fa04924afa0cbe6 (diff) | |
download | slackbuilds-f098bd5c9456370e00cea02c81eea27dc5958159.tar.gz |
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 <idlemoor@slackbuilds.org>
-rw-r--r-- | network/hostapd/hostapd.SlackBuild | 6 |
1 files changed, 3 insertions, 3 deletions
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 |