Updated for default repositories file

This commit is contained in:
Dimitris Zlatanidis 2015-09-23 08:57:36 +03:00
parent f787fb0ffa
commit 478fbd8491
3 changed files with 6 additions and 3 deletions

View file

@ -118,7 +118,8 @@ if "install" in sys.argv:
"conf/repositories.conf",
"conf/blacklist",
"conf/slackware-mirrors",
"conf/custom-repositories",
"conf/default-repositories",
"conf/custom-repositories"
]
if not os.path.exists(_meta_.conf_path):
os.makedirs(_meta_.conf_path)

View file

@ -8,7 +8,8 @@ config() {
fi
}
CONFIGS="slpkg.conf repositories.conf blacklist slackware-mirrors custom-repositories"
CONFIGS="slpkg.conf repositories.conf blacklist slackware-mirrors default-repositories \
custom-repositories"
for file in $CONFIGS; do
config etc/slpkg/${file}.new
done

View file

@ -87,7 +87,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/etc/slpkg
# install configurations files
CONFIGS="slpkg.conf repositories.conf blacklist slackware-mirrors custom-repositories"
CONFIGS="slpkg.conf repositories.conf blacklist slackware-mirrors default-repositories \
custom-repositories"
for file in $CONFIGS; do
install -D -m0644 conf/$file $PKG/etc/slpkg/${file}.new
done