aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2015-08-11 01:28:33 +0200
committerDavid Runge <dave@sleepmap.de>2015-08-11 01:28:33 +0200
commit6301d054758996c30ff5f2aa89cc381e3aa63f58 (patch)
tree98c34e2b9276ffbf029cef87eb580d5daaafa154
parentdce0f43698fa6271234a46d5c6a7cdc7eed33264 (diff)
downloadcrypted-backups-6301d054758996c30ff5f2aa89cc381e3aa63f58.tar.gz
crypted-backups-6301d054758996c30ff5f2aa89cc381e3aa63f58.tar.bz2
crypted-backups-6301d054758996c30ff5f2aa89cc381e3aa63f58.tar.xz
crypted-backups-6301d054758996c30ff5f2aa89cc381e3aa63f58.zip
scripts/backup-{firefox,thunderbird}: Adding home directory
-rwxr-xr-xscripts/backup-firefox1
-rwxr-xr-xscripts/backup-thunderbird1
2 files changed, 2 insertions, 0 deletions
diff --git a/scripts/backup-firefox b/scripts/backup-firefox
index 9b80d5f..c15f813 100755
--- a/scripts/backup-firefox
+++ b/scripts/backup-firefox
@@ -4,6 +4,7 @@ profiles=( ) # List of profiles
timestamp="$(date +"%Y%m%d-%H%M%S")-"
user_name=$(whoami)
user="$user_name/"
+home="/home/"
firefox_pid=$(ps -C firefox u | grep $user_name | awk '{print $2}') # Current Firefox pid
psd=$(systemctl is-active psd) # psd activation
diff --git a/scripts/backup-thunderbird b/scripts/backup-thunderbird
index ca67b72..2caaf2a 100755
--- a/scripts/backup-thunderbird
+++ b/scripts/backup-thunderbird
@@ -4,6 +4,7 @@ profiles=( ) # List of profiles
timestamp="$(date +"%Y%m%d-%H%M%S")-"
user_name=$(whoami)
user="$user_name/"
+home="/home/"
thunderbird_pid=$(ps -C thunderbird u | grep $user_name | awk '{print $2}') # Current thunderbird pid
# If the backup location doesn't exist yet, create it