fix: fix package logging
This commit is contained in:
parent
8ac35ab002
commit
d81f542de6
1 changed files with 2 additions and 2 deletions
|
@ -53,8 +53,8 @@ function backup ()
|
|||
$ECHO "Creating backup in \"$TOSSH:$TARGET$1\"..." 2>&1 | formatLog >> $LOG
|
||||
|
||||
if [ -n "$LISTPACKAGES" ] && [ -z "$FROMSSH" ]; then
|
||||
$ECHO "$DPKG --get-selections | $AWK '!/deinstall|purge|hold/'|$CUT -f1 | $TR '\n' ' '" 2>&1 | formatLog >> $LOG
|
||||
$DPKG --get-selections | $AWK '!/deinstall|purge|hold/'|$CUT -f1 |$TR '\n' ' ' 2>&1 | formatLog >> $LOG 2>&1
|
||||
$ECHO "$DPKG --get-selections | $AWK '!/deinstall|purge|hold/'|$CUT -f1 | $TR 'n' ' '" 2>&1 | formatLog >> $LOG
|
||||
$DPKG --get-selections | $AWK '!/deinstall|purge|hold/'|$CUT -f1 |$TR '\n' ' ' >> $LOG 2>&1
|
||||
fi
|
||||
|
||||
# Create folders that don't exist
|
||||
|
|
Loading…
Reference in a new issue