fix mint
This commit is contained in:
@@ -23,7 +23,7 @@ source "$BASEDIR"/../lib/functions.sh
|
|||||||
[[ $# -lt 1 ]] && usage
|
[[ $# -lt 1 ]] && usage
|
||||||
|
|
||||||
case $(os-release) in
|
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
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user