aboutsummaryrefslogtreecommitdiff
path: root/misc/firefox-rotate
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-13 17:32:58 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-13 17:32:58 -0200
commita64487d5db57b9e281a5953b082618d2c1fca8a4 (patch)
treebfd1f26e5eaccf9cfd3d2809a49161beceb7f9b6 /misc/firefox-rotate
parentf6978c1b28db3308808f2e303c607047f97a96c5 (diff)
downloadscripts-a64487d5db57b9e281a5953b082618d2c1fca8a4.tar.gz
scripts-a64487d5db57b9e281a5953b082618d2c1fca8a4.tar.bz2
Removing old scripts and cleaning up some code
Diffstat (limited to 'misc/firefox-rotate')
-rwxr-xr-xmisc/firefox-rotate21
1 files changed, 0 insertions, 21 deletions
diff --git a/misc/firefox-rotate b/misc/firefox-rotate
deleted file mode 100755
index e116e0a..0000000
--- a/misc/firefox-rotate
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-#
-# firefox profile local backup
-#
-
-BACKUPDIR="$HOME/backups/mozilla"
-
-if [ ! -d "/$BACKUPDIR" ]; then
- mkdir -p $BACKUPDIR
-fi
-
-if [ -d "/$BACKUPDIR/mozilla.2" ]; then
- rm -rf /$BACKUPDIR/mozilla.2
-fi
-
-if [ -d "/$BACKUPDIR/mozilla.1" ]; then
- mv /$BACKUPDIR/mozilla.1 /$BACKUPDIR/mozilla.2
-fi
-
-cp -Rp $HOME/.mozilla /$BACKUPDIR/mozilla.1
-