Updated scripts
This commit is contained in:
@@ -76,14 +76,14 @@ sleep 1
|
||||
|
||||
# Create backup/snapshot
|
||||
if pacman -Qs timeshift >/dev/null; then
|
||||
CONFIG_FILE="/etc/timeshift/timeshift.json"
|
||||
if [ -f "$CONFIG_FILE" ]; then
|
||||
BTRFS_MODE=$(jq '.btrfs_mode' "$CONFIG_FILE")
|
||||
if [ "$BTRFS_MODE" == '"true"' ]; then
|
||||
printf -- '\033[33m Creating backup/snapshot\n\033[37m'
|
||||
sudo timeshift --create --comments "Update script"
|
||||
fi
|
||||
fi
|
||||
# CONFIG_FILE="/etc/timeshift/timeshift.json"
|
||||
# if [ -f "$CONFIG_FILE" ]; then
|
||||
# BTRFS_MODE=$(jq '.btrfs_mode' "$CONFIG_FILE")
|
||||
# if [ "$BTRFS_MODE" == '"true"' ]; then
|
||||
printf -- '\033[33m Creating backup/snapshot\n\033[37m'
|
||||
sudo timeshift --create --comments "Update script"
|
||||
# fi
|
||||
# fi
|
||||
fi
|
||||
|
||||
# Enable multilib (if applicable)
|
||||
|
||||
Reference in New Issue
Block a user