aboutsummaryrefslogtreecommitdiff
path: root/system/slpkg/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/slpkg/doinst.sh')
-rw-r--r--system/slpkg/doinst.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/system/slpkg/doinst.sh b/system/slpkg/doinst.sh
index aefd7614b8bbc..74029f7a09453 100644
--- a/system/slpkg/doinst.sh
+++ b/system/slpkg/doinst.sh
@@ -8,9 +8,10 @@ config() {
fi
}
-config etc/slpkg/slpkg.toml.new
-config etc/slpkg/repositories.toml.new
-config etc/slpkg/blacklist.toml.new
+FILES="slpkg repositories blacklist rules"
+for file in $FILES; do
+ config etc/slpkg/$file.toml.new
+done
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1