Browse Source

fix mint

main
pvincent 2 weeks ago
parent
commit
2a7af2eafd
  1. 2
      tools/idem_apt_install

2
tools/idem_apt_install

@ -23,7 +23,7 @@ source "$BASEDIR"/../lib/functions.sh
[[ $# -lt 1 ]] && usage
case $(os-release) in
debian | ubuntu | mint)
debian | ubuntu | linuxmint)
if [ "$(date --date='-12 hours' +%s)" -gt "$(date -d "$(stat -c %y /var/lib/apt/lists/partial)" +%s)" ]; then
echo "updating repositoring..."
apt-get update

Loading…
Cancel
Save