From bddb6b6e4da39d705d1897874847e3684a451419 Mon Sep 17 00:00:00 2001 From: developomp Date: Mon, 9 May 2022 22:16:17 +0900 Subject: [PATCH] removed unnecessary comment --- src/util.py | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/src/util.py b/src/util.py index 60ac2d0..e31aba3 100644 --- a/src/util.py +++ b/src/util.py @@ -139,32 +139,3 @@ def command_exists(command: str) -> bool: """Check if a command can be found in the current default shell.""" return len(run(f"command -v {command}")) == 1 - - -""" -def setup_essentials(): - setup_fstab - sudo pacman -S --needed base-devel wget - dconf - - # install dialog if it's not installed already - if ! command -v dialog &>/dev/null; then - log "dialog was not installed already. Installing now..." - package_install dialog - fi - -def backup(): - TIMESTAMP=$(date +%s) - # backup dconf configuration - dconf dump / >"$SCRIPT_DIR/dconf$TIMESTAMP.conf" - - # make a home directory backup - rsync -a --info=progress2 --perms /home/pomp "$DATA_PATH/backup$TIMESTAMP" - - # create timeshift backup - if ! command -v timeshift &>/dev/null; then - error "failed to create timeshift backup. Timeshift command not found." - else - sudo timeshift --create --comments "auto created by developomp setup script ($TIMESTAMP)" - fi -"""