mirror of
https://github.com/macports/mpbb.git
synced 2026-07-12 18:18:44 -07:00
Revert "mpbb: Temporarily ignore selfupdate errors"
This reverts commit b405fee11b.
This commit is contained in:
+2
-2
@@ -53,7 +53,7 @@ selfupdate() {
|
||||
|
||||
# selfupdate at most once every 24 hours
|
||||
if [[ ! -f selfupdate.timestamp || $(($(date +%s) - $(stat -f %m selfupdate.timestamp))) -gt 86400 ]]; then
|
||||
"${option_prefix}/bin/port" -d selfupdate --no-sync && touch selfupdate.timestamp
|
||||
"${option_prefix}/bin/port" -d selfupdate --no-sync || return
|
||||
touch selfupdate.timestamp
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user