mirror of
https://github.com/zuno/slackpkgplus
synced 2024-12-26 09:58:43 +01:00
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:
parent
6a057506a0
commit
40dccabfc9
3 changed files with 22 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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(){
|
||||
|
|
Loading…
Reference in a new issue