mirror of
https://github.com/zuno/slackpkgplus
synced 2024-12-26 09:58:43 +01:00
Overrive the gpg import from slackpkg 15.0.5
" Harden slackpkg with respect to obtaining GPG key. (CRTS)" this deny to download the gpg-key from thirdy part repositories
This commit is contained in:
parent
93f4b0c6ed
commit
25eef17e5f
1 changed files with 5 additions and 0 deletions
|
@ -517,6 +517,11 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
|||
return $?
|
||||
} # END function getpkg()
|
||||
|
||||
# Override the get_gpg_key to rollback slackpkg 15.0.5 gpg-key import method
|
||||
function get_gpg_key(){
|
||||
getfile ${SOURCE}GPG-KEY $TMPDIR/gpgkey
|
||||
}
|
||||
|
||||
# Override the slackpkg getfile().
|
||||
# The new getfile() download all file needed from all defined repositories
|
||||
# then merge all in a format slackpkg-compatible
|
||||
|
|
Loading…
Reference in a new issue