wok diff get-community-backgrounds/stuff/get-community-backgrounds @ rev 23874
squidclamav: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 25 19:42:45 2020 +0000 (2020-06-25) |
parents | d95ae0b39830 |
children |
line diff
1.1 --- a/get-community-backgrounds/stuff/get-community-backgrounds Wed Jan 29 09:15:22 2020 +0100 1.2 +++ b/get-community-backgrounds/stuff/get-community-backgrounds Thu Jun 25 19:42:45 2020 +0000 1.3 @@ -4,7 +4,7 @@ 1.4 # 1.5 # (C) 2020 SliTaz - GNU General Public License v3. 1.6 # Author : Leonardo Laporte 1.7 -# modified by HGT on 2020-01-29 1.8 +# modified by HGT on 2020-02-10 1.9 # 1.10 1.11 # === Initialisations === 1.12 @@ -61,7 +61,8 @@ 1.13 [ -z "$keep" ] && keep="no" 1.14 1.15 # Directory for temporary files 1.16 -[ -z "$tempdir" ] && TMP_DIR="/tmp/get-$PACKAGE" 1.17 +TMP_DIR="$tmpdir" 1.18 +[ -z "$tmpdir" ] && TMP_DIR="/tmp/get-$PACKAGE" 1.19 1.20 # Logging file (unused by now) 1.21 LOG=$TMP_DIR/get-$PACKAGE.log 1.22 @@ -79,7 +80,7 @@ 1.23 newline 1.24 1.25 # === Remove package, if installed === 1.26 -if [ is_installed ] 1.27 +if is_installed 1.28 then 1.29 action "Removing installed version..." 1.30 newline