summaryrefslogtreecommitdiffstats
path: root/ocsync
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2013-04-25 10:07:01 +0000
committer Eric Hameleers <alien@slackware.com>2013-04-25 10:07:01 +0000
commit78d53fadd2bac4ae3f5ccdcf27bad7c1aa5ec735 (patch)
tree2386d10cd1d17543b914c7897c6c26bade8bdbce /ocsync
parente192944aa23cbe0e9f53bba2ede9b5a635b11ef0 (diff)
downloadasb-78d53fadd2bac4ae3f5ccdcf27bad7c1aa5ec735.tar.gz
asb-78d53fadd2bac4ae3f5ccdcf27bad7c1aa5ec735.tar.xz
The /etc/ocsync/ocsync_exclude.conf file is no longer present
Diffstat (limited to 'ocsync')
-rwxr-xr-xocsync/build/ocsync.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/ocsync/build/ocsync.SlackBuild b/ocsync/build/ocsync.SlackBuild
index 1d541e90..5cb316f8 100755
--- a/ocsync/build/ocsync.SlackBuild
+++ b/ocsync/build/ocsync.SlackBuild
@@ -185,9 +185,9 @@ cd build
cd -
# Do not clobber configuration files:
-mv -i $PKG/etc/ocsync/ocsync_log.conf{,.new}
-mv -i $PKG/etc/ocsync/ocsync.conf{,.new}
-mv -i $PKG/etc/ocsync/ocsync_exclude.conf{,.new}
+for CONFF in $PKG/etc/ocsync/*.conf ; do
+ mv -i ${CONFF}{,.new}
+done
# Add this to the doinst.sh:
mkdir -p $PKG/install
@@ -208,9 +208,9 @@ config() {
done
}
-config etc/ocsync/ocsync_log.conf.new
-config etc/ocsync/ocsync.conf.new
-config etc/ocsync/ocsync_exclude.conf.new
+for CONFF in etc/ocsync/*.conf.new ; do
+ config \${CONFF}
+done
EOINS