Dateien nach "/" hochladen
This commit is contained in:
16
updater.sh
Normal file
16
updater.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env fish
|
||||
|
||||
paru -Syu --ignore simulationcraft-git --noconfirm
|
||||
|
||||
echo ""
|
||||
echo "Update abgeschlossen. Bitte Enter drücken, um das Terminal zu schließen..."
|
||||
|
||||
# Pfad zur Datei
|
||||
set FILE "last_update.txt"
|
||||
|
||||
# Aktueller Zeitpunkt
|
||||
truncate -s 0 "$FILE"
|
||||
set current_time $(date +%s)
|
||||
echo "$current_time" > "$FILE"
|
||||
|
||||
read -p ""
|
||||
Reference in New Issue
Block a user