Fixed creating /var/lib/slpkg/ directory #144

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2022-09-28 20:01:16 +03:00
parent 96f56952fa
commit eec8a78410

View file

@ -96,8 +96,8 @@ cp bin/slpkg $PKG/usr/sbin/slpkg
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# install configuration files
mkdir -p $PKG/etc/slpkg
# Install configuration files and creating lib directory
mkdir -p $PKG/etc/$PRGNAM $PKG/var/lib/$PRGNAM/database $PKG/var/lib/$PRGNAM/repository
install -D -m0644 configs/slpkg.yml $PKG/etc/slpkg/slpkg.yml.new
install -D -m0644 configs/blacklist.yml $PKG/etc/slpkg/blacklist.yml.new