tazpkg diff tazpkg @ rev 974
Add crontabs in repack-config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 07 09:43:49 2020 +0000 (2020-08-07) |
parents | 78e434868b22 |
children |
line diff
1.1 --- a/tazpkg Mon Feb 05 22:54:50 2018 +0100 1.2 +++ b/tazpkg Fri Aug 07 09:43:49 2020 +0000 1.3 @@ -114,7 +114,7 @@ 1.4 # If not and user is root we create them. 1.5 1.6 check_base_dir() { 1.7 - if [ "$(id -u)" == '0' ]; then 1.8 + if [ "$(id -u)" = '0' ]; then 1.9 check_dir $1$CACHE_DIR 1.10 check_dir $1$INSTALLED 1.11 check_dir $1$SLITAZ_LOGS 1.12 @@ -214,7 +214,7 @@ 1.13 log_pkg() { 1.14 local extra 1.15 1.16 - [ "$1" == 'Installed' ] && \ 1.17 + [ "$1" = 'Installed' ] && \ 1.18 extra=" - $(fgrep " $PACKAGE-$VERSION" $PKGS_DB/installed.$SUM | awk '{ print $1 }')" 1.19 1.20 [ -e "$LOG" ] || touch $LOG