mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-06 08:46:21 +01:00
Updated for yaml
This commit is contained in:
parent
9d33105970
commit
580c9f7850
5 changed files with 10 additions and 9 deletions
|
@ -1,6 +1,7 @@
|
||||||
4.1.1 - 21/06/2022
|
4.1.1 - 22/06/2022
|
||||||
Updated:
|
Updated:
|
||||||
- Cli menu view with colors
|
- Cli menu view with colors
|
||||||
|
- Switch to yaml configurations
|
||||||
Added:
|
Added:
|
||||||
- Unittests
|
- Unittests
|
||||||
- Command clean-tmp to deletes all downloaded sources from /tmp/slpkg folder
|
- Command clean-tmp to deletes all downloaded sources from /tmp/slpkg folder
|
||||||
|
|
|
@ -72,10 +72,10 @@ Configuration files
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
/etc/slpkg/slpkg.json
|
/etc/slpkg/slpkg.yaml
|
||||||
General configuration of slpkg
|
General configuration of slpkg
|
||||||
|
|
||||||
/etc/slpkg/blacklist.json
|
/etc/slpkg/blacklist.yaml
|
||||||
Blacklist of packages
|
Blacklist of packages
|
||||||
|
|
||||||
Donate
|
Donate
|
||||||
|
|
|
@ -80,9 +80,9 @@ Print version and exit.
|
||||||
.RE
|
.RE
|
||||||
.SH CONFIGURATION FILES
|
.SH CONFIGURATION FILES
|
||||||
.P
|
.P
|
||||||
Configuration file in the /etc/slpkg/slpkg.json file.
|
Configuration file in the /etc/slpkg/slpkg.yaml file.
|
||||||
.RE
|
.RE
|
||||||
Blacklist file in the /etc/slpkg/blacklist.json file.
|
Blacklist file in the /etc/slpkg/blacklist.yaml file.
|
||||||
.SH REPORT BUGS
|
.SH REPORT BUGS
|
||||||
.P
|
.P
|
||||||
Please report any found to https://gitlab.com/dslackw/slpkg/-/issues.
|
Please report any found to https://gitlab.com/dslackw/slpkg/-/issues.
|
||||||
|
|
|
@ -8,8 +8,8 @@ config() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
config etc/slpkg/slpkg.json.new
|
config etc/slpkg/slpkg.yaml.new
|
||||||
config etc/slpkg/blacklist.json.new
|
config etc/slpkg/blacklist.yaml.new
|
||||||
|
|
||||||
if [ -x /usr/bin/update-desktop-database ]; then
|
if [ -x /usr/bin/update-desktop-database ]; then
|
||||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||||
|
|
|
@ -98,8 +98,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
|
||||||
|
|
||||||
# install configuration files
|
# install configuration files
|
||||||
mkdir -p $PKG/etc/slpkg
|
mkdir -p $PKG/etc/slpkg
|
||||||
install -D -m0644 configs/slpkg.json $PKG/etc/slpkg/slpkg.json.new
|
install -D -m0644 configs/slpkg.yaml $PKG/etc/slpkg/slpkg.yaml.new
|
||||||
install -D -m0644 configs/blacklist.json $PKG/etc/slpkg/blacklist.json.new
|
install -D -m0644 configs/blacklist.yaml $PKG/etc/slpkg/blacklist.yaml.new
|
||||||
|
|
||||||
mkdir -p $PKG/usr/man/man1
|
mkdir -p $PKG/usr/man/man1
|
||||||
cp man/slpkg.1 $PKG/usr/man/man1
|
cp man/slpkg.1 $PKG/usr/man/man1
|
||||||
|
|
Loading…
Add table
Reference in a new issue