From 6301d054758996c30ff5f2aa89cc381e3aa63f58 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 11 Aug 2015 01:28:33 +0200 Subject: scripts/backup-{firefox,thunderbird}: Adding home directory --- scripts/backup-thunderbird | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/backup-thunderbird') 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 -- cgit v1.2.3-70-g09d2