[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#539366: cron.daily/apt: $VERBOSE accessed before sanitised: [: 324:, Illegal number



Hi,

From manual page, it seems the right way to use apt-config should be :

# Set VERBOSE mode from  apt-config (or inherit from environment)
VERBOSE="0"
eval $(apt-config shell VERBOSE APT::Periodic::Verbose)

instead of

# Set VERBOSE mode from  apt-config (or inherit from environment)
eval $(apt-config shell VERBOSE APT::Periodic::Verbose)
debug_echo "verbose level $VERBOSE"
if [ -z "$VERBOSE" ]; then
   VERBOSE="0"
fi


I think this solves the problem with script execution.

Regards,
Jean-Jacques




Reply to: