This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| backup_date=$(date --iso-8601=second) | |
| if [[ "0" == "$UID" ]]; then | |
| backup_dir="/var/local/backup" | |
| backup_config_dir="/usr/local/etc/backup" | |
| else | |
| backup_dir="${HOME}/.cache/backup" | |
| backup_config_dir="${HOME}/.config/backup" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Exits the script if an error occurs... | |
| set -e | |
| # Project installation... | |
| echo "" | |
| echo "Running the application installation..." | |
| echo "" | |
| echo "Enter the ABSOLUTE PATH of your application directory (its directory will be created if it doesn't exist...):" |