ubuntu + mint supported distributions

This commit is contained in:
pvincent
2025-02-04 20:19:35 +04:00
parent 477842aef7
commit 6ecac218c6
+1 -1
View File
@@ -23,7 +23,7 @@ source "$BASEDIR"/../lib/functions.sh
[[ $# -lt 1 ]] && usage [[ $# -lt 1 ]] && usage
case $(os-release) in case $(os-release) in
debian) debian | ubuntu | mint)
if [ "$(date --date='-12 hours' +%s)" -gt "$(date -d "$(stat -c %y /var/lib/apt/lists/partial)" +%s)" ]; then if [ "$(date --date='-12 hours' +%s)" -gt "$(date -d "$(stat -c %y /var/lib/apt/lists/partial)" +%s)" ]; then
echo "updating repositoring..." echo "updating repositoring..."
apt-get update apt-get update