Tue Jan 11 21:42:33 CET 2022

pkg/slackpkg+-1.7.11-noarch-2mt.txz:
  - Automatically download gpg key if needed if STRICTGPG=on.
    If STRICTGPG=off you need to manually run slackpkg update gpg every
    time you add a new repository.
+-------------------------+

updated documentation
This commit is contained in:
Matteo Rossini 2022-01-11 22:06:07 +01:00
parent d5f89697c5
commit 48adde227e
5 changed files with 39 additions and 11 deletions

View file

@ -1,3 +1,10 @@
Tue Jan 11 21:42:33 CET 2022
pkg/slackpkg+-1.7.11-noarch-2mt.txz:
- Automatically download gpg key if needed if STRICTGPG=on.
If STRICTGPG=off you need to manually run slackpkg update gpg every
time you add a new repository.
+-------------------------+
Tue Jan 11 19:24:04 CET 2022
pkg/slackpkg+-1.7.11-noarch-1mt.txz:
- zlookkernel.sh also supports grub (thanks to RezaT4795)

View file

@ -127,6 +127,9 @@
*Various
- No longer need to run 'slackpkg update gpg' everytime a repository is added or
renamed, unless STRICTGPG=off
- Suppress wget output in ChangeLog downloading
- Catch errors and return exit status: 1 for warning, 2 for fatal

View file

@ -1,3 +1,10 @@
Tue Jan 11 21:42:33 CET 2022
pkg/slackpkg+-1.7.11-noarch-2mt.txz:
- Automatically download gpg key if needed if STRICTGPG=on.
If STRICTGPG=off you need to manually run slackpkg update gpg every
time you add a new repository.
+-------------------------+
Tue Jan 11 19:24:04 CET 2022
pkg/slackpkg+-1.7.11-noarch-1mt.txz:
- zlookkernel.sh also supports grub (thanks to RezaT4795)

View file

@ -143,6 +143,18 @@ accepts the following kinds of argument:
Note: 'slackpkg install .' is an alias of 'slackpkg install dir:./', but
'slackpkg install ./' is NOT the same alias; see FILE in man slackpkg
8) "comma syntax". Add a comma to the package name in any command to match
exact package name instead word match. For example, searching for
"libreoffice" match "libreoffice" "libreoffice-dict-it" etc. Up to 500
packages that you need to deselect if you just want to install libreoffice
slackpkg upgrade libreoffice,
slackpkg install alienbob:libreoffice,
slackpkg download libreoffice,
slackpkg search libreoffice,
you can also put the comma at the start of the packagename
slackpkg reinstall ,libreoffice
slackpkg install ,libreoffice{,-dict-it,-l10n-it}
-----
@ -610,9 +622,8 @@ To use a similar repository you may set STRICTGPG=off
Note that sometime you may need to import manually the GPG-KEY with the command
# gpg --import GPG-KEY
Note: after upgrading from slackpkg+ < 1.7, you must run slackpkg update gpg.
Also you need it everytime you add or _rename_ a reporitory in
slackpkgplus.conf.
Note: If you add a repository you may need to run 'slackpkg update gpg' if
STRICTGPG is set to off.
-----

View file

@ -1994,14 +1994,14 @@ if [ "$SLACKPKGPLUS" = "on" ];then
find $TEMP ! -type d|sort|tac|awk '{if($1~/\.asc$/)f[$1]++;if($1~/\.t.z$/ && !f[$1".asc"])print $1}' |xargs -r rm -f
fi
if [ "$UPARG" != "gpg" ]&&[ "$CHECKGPG" = "on" ]&& ! ls -l $WORKDIR/gpg/GPG-KEY-slackware*.gpg >/dev/null 2>&1;then
echo "FATAL! No Slackware GPG-KEY imported."
if [ -e "$WORKDIR/ChangeLog.txt" ];then
echo "If you are upgrading from an older release of slackpkg+, all keys must to be reimported."
fi
echo "Please run"
echo " # slackpkg update gpg"
cleanup
#if [ "$UPARG" != "gpg" ]&&[ "$CHECKGPG" = "on" ]&&[ "$STRICTGPG" = "on" ] && ! ls -l $WORKDIR/gpg/GPG-KEY-slackware*.gpg >/dev/null 2>&1;then
if [ "$UPARG" != "gpg" ]&&[ "$CHECKGPG" = "on" ]&&[ "$STRICTGPG" = "on" ];then
ls -l $WORKDIR/gpg/GPG-KEY-slackware*.gpg >/dev/null 2>&1 || GPGFIRSTTIME=0
for PREPO in "${!MIRRORPLUS[@]}" ; do
if ! echo "${MIRRORPLUS[$PREPO]}"|grep -q -e "^httpdir://" -e "^httpsdir://" -e "^ftpdir://" 2>/dev/null ; then
ls -l $WORKDIR/gpg/GPG-KEY-${PREPO}.gpg >/dev/null 2>&1 || GPGFIRSTTIME=0
fi
done
fi
# Ensure each repository url has a trailing slash...