variable cask_to_not_update is now in kymsu.cfg file
This commit is contained in:
2026-08-02 18:55:23 +02:00
parent 1682d0bd18
commit 909a1fb52d
5 changed files with 61 additions and 6 deletions
+11 -2
View File
@@ -37,9 +37,18 @@ else
fi
current_timestamp=$(date +"%s")
temps=$(( current_timestamp-last_update))
temps=$(( current_timestamp-last_update ))
if [ $(( temps-w)) -gt 0 ]; then
echo "$w"
# date +'%d-%m-%Y %H:%M:%S' -d @1658067929
echo "$last_update"
date +'%d-%m-%Y %H:%M:%S' -d @$last_update
echo "$current_timestamp"
date +'%d-%m-%Y %H:%M:%S' -d @$current_timestamp
echo "$temps"
if [ $(( temps-w )) -gt 0 ]; then
echo "🦄 KYMSU self update"
pushd "$(cat ~/.kymsu/path)" > /dev/null
#git pull