Mon Apr 18 18:19:11 CEST 2022

pkg/slackpkg+-1.8.0-noarch-4mt.txz: Upgrade
  - Show filename in wget2 instead directory
This commit is contained in:
Matteo Rossini 2022-04-18 18:21:52 +02:00
parent 6a057506a0
commit 40dccabfc9
3 changed files with 22 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Mon Apr 18 18:19:11 CEST 2022
pkg/slackpkg+-1.8.0-noarch-4mt.txz: Upgrade
- Show filename in wget2 instead directory
+-------------------------+
Sun Apr 3 19:29:38 CEST 2022
pkg/slackpkg+-1.8.0-noarch-3mt.txz: Upgrade
- Manage '+' in $TEMP path

View file

@ -1,3 +1,8 @@
Mon Apr 18 18:19:11 CEST 2022
pkg/slackpkg+-1.8.0-noarch-4mt.txz: Upgrade
- Show filename in wget2 instead directory
+-------------------------+
Sun Apr 3 19:29:38 CEST 2022
pkg/slackpkg+-1.8.0-noarch-3mt.txz: Upgrade
- Manage '+' in $TEMP path

View file

@ -446,6 +446,18 @@ if [ "$SLACKPKGPLUS" = "on" ];then
##### ====== DOWNLOADERS ====== ######
# Resolve some issue with wget2
#
function wget2(){
WGET2CMD="$@"
WGET2PATH=$(echo "$WGET2CMD"|sed -r "s,.*-O ([^ ]+) .*,\1,")
WGET2DIR=$(echo "$WGET2PATH"|sed -r "s,/[^/]*$,,")
WGET2CMD="$(echo "$WGET2CMD"|sed -r "s,$WGET2DIR/,,")"
(
cd $WGET2DIR
/usr/bin/wget2 $WGET2CMD
)
}
# Implements an improved wget version for a verbose output
#
function wgetdebug(){