mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
Updated for configs
This commit is contained in:
parent
2de3cc1c2e
commit
e8e828e47c
2 changed files with 8 additions and 12 deletions
|
@ -8,11 +8,7 @@ config() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
config etc/slpkg/slpkg.toml.new
|
FILES="slpkg repositories blacklist rules"
|
||||||
config etc/slpkg/repositories.toml.new
|
for file in $FILES; do
|
||||||
config etc/slpkg/blacklist.toml.new
|
install -D -m0644 configs/$file.toml $PKG/etc/slpkg/$file.toml.new
|
||||||
config etc/slpkg/rules.toml.new
|
done
|
||||||
|
|
||||||
if [ -x /usr/bin/update-desktop-database ]; then
|
|
||||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
|
||||||
fi
|
|
|
@ -98,10 +98,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
|
||||||
|
|
||||||
# Install configuration files and creating lib directory
|
# Install configuration files and creating lib directory
|
||||||
mkdir -p $PKG/etc/$PRGNAM
|
mkdir -p $PKG/etc/$PRGNAM
|
||||||
install -D -m0644 configs/slpkg.toml $PKG/etc/slpkg/slpkg.toml.new
|
FILES="slpkg repositories blacklist rules"
|
||||||
install -D -m0644 configs/repositories.toml $PKG/etc/slpkg/repositories.toml.new
|
for file in $FILES; do
|
||||||
install -D -m0644 configs/blacklist.toml $PKG/etc/slpkg/blacklist.toml.new
|
install -D -m0644 configs/$file.toml $PKG/etc/slpkg/$file.toml.new
|
||||||
install -D -m0644 configs/rules.toml $PKG/etc/slpkg/rules.toml.new
|
done
|
||||||
|
|
||||||
mkdir -p $PKG/usr/man/man1 & mkdir -p $PKG/usr/man/fr/man1
|
mkdir -p $PKG/usr/man/man1 & mkdir -p $PKG/usr/man/fr/man1
|
||||||
cp man/slpkg.1 $PKG/usr/man/man1
|
cp man/slpkg.1 $PKG/usr/man/man1
|
||||||
|
|
Loading…
Reference in a new issue