mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-16 07:47:35 +01:00
Fixed creating /var/lib/slpkg/ directory #144
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
96f56952fa
commit
eec8a78410
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue