Add install script
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -10,7 +10,7 @@ usage() {
|
||||
|
||||
cleanup() {
|
||||
if [ -d "/persist.bak" ]; then btrfs -q subvolume delete "/persist.bak"; fi
|
||||
if [ -n "${backup_location}" ] && [ -f "${backup_location}.tmp" ]; then rm "${backup_location}.tmp"; fi
|
||||
if [ -n "${backup_location}" ]; then rm -f "${backup_location}.tmp"; fi
|
||||
|
||||
if [ -n "${mount_location}" ]; then
|
||||
if mount | grep -q "${mount_location}"; then umount "${mount_location}"; fi
|
||||
|
Reference in New Issue
Block a user