mirror of
https://github.com/zuno/slackpkgplus
synced 2024-12-26 09:58:43 +01:00
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:
parent
d5f89697c5
commit
48adde227e
5 changed files with 39 additions and 11 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
17
src/README
17
src/README
|
@ -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.
|
||||
|
||||
-----
|
||||
|
||||
|
|
|
@ -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...
|
||||
|
|
Loading…
Reference in a new issue