aboutsummaryrefslogtreecommitdiff
path: root/network/strongswan/strongswan.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-11-14 23:32:59 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-11-22 01:14:28 +0700
commit7f09470ed92c3b3d1021cf8fcd54a4335fd0638d (patch)
tree36975187510d82ceedee40cae226b009793f8027 /network/strongswan/strongswan.SlackBuild
parentf9f687a91b9c13e8b43d770ec4c952a54881f6f9 (diff)
network/strongswan: Fix the no-clobber routine.
The package's /install dir should not contain additional files Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/strongswan/strongswan.SlackBuild')
-rw-r--r--network/strongswan/strongswan.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/network/strongswan/strongswan.SlackBuild b/network/strongswan/strongswan.SlackBuild
index a36d0c351c..d9d0310224 100644
--- a/network/strongswan/strongswan.SlackBuild
+++ b/network/strongswan/strongswan.SlackBuild
@@ -165,7 +165,7 @@ cd $PKG
for i in $(find etc -type f)
do
mv $i $i.new
- echo $i
-done 1>>$PKG/install/conffiles
+ echo "config $i.new" >> $PKG/install/doinst.sh
+done
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}