Updated for yaml

This commit is contained in:
Dimitris Zlatanidis 2022-06-22 22:10:31 +03:00
parent 9d33105970
commit 580c9f7850
5 changed files with 10 additions and 9 deletions

View file

@ -1,6 +1,7 @@
4.1.1 - 21/06/2022
4.1.1 - 22/06/2022
Updated:
- Cli menu view with colors
- Switch to yaml configurations
Added:
- Unittests
- Command clean-tmp to deletes all downloaded sources from /tmp/slpkg folder

View file

@ -72,10 +72,10 @@ Configuration files
.. code-block:: bash
/etc/slpkg/slpkg.json
/etc/slpkg/slpkg.yaml
General configuration of slpkg
/etc/slpkg/blacklist.json
/etc/slpkg/blacklist.yaml
Blacklist of packages
Donate

View file

@ -80,9 +80,9 @@ Print version and exit.
.RE
.SH CONFIGURATION FILES
.P
Configuration file in the /etc/slpkg/slpkg.json file.
Configuration file in the /etc/slpkg/slpkg.yaml file.
.RE
Blacklist file in the /etc/slpkg/blacklist.json file.
Blacklist file in the /etc/slpkg/blacklist.yaml file.
.SH REPORT BUGS
.P
Please report any found to https://gitlab.com/dslackw/slpkg/-/issues.

View file

@ -8,8 +8,8 @@ config() {
fi
}
config etc/slpkg/slpkg.json.new
config etc/slpkg/blacklist.json.new
config etc/slpkg/slpkg.yaml.new
config etc/slpkg/blacklist.yaml.new
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1

View file

@ -98,8 +98,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
# install configuration files
mkdir -p $PKG/etc/slpkg
install -D -m0644 configs/slpkg.json $PKG/etc/slpkg/slpkg.json.new
install -D -m0644 configs/blacklist.json $PKG/etc/slpkg/blacklist.json.new
install -D -m0644 configs/slpkg.yaml $PKG/etc/slpkg/slpkg.yaml.new
install -D -m0644 configs/blacklist.yaml $PKG/etc/slpkg/blacklist.yaml.new
mkdir -p $PKG/usr/man/man1
cp man/slpkg.1 $PKG/usr/man/man1