mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
Updated for default repositories file
This commit is contained in:
parent
f787fb0ffa
commit
478fbd8491
3 changed files with 6 additions and 3 deletions
3
setup.py
3
setup.py
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue