From: intrigeri Date: Wed, 28 Dec 2005 20:19:29 +0000 (+0000) Subject: r263@crapouille: intrigeri | 2005-12-28 21:19:10 +0100 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=ae09602a2a7befcad7c92ff796af6569c80aead0;p=matthijs%2Fupstream%2Fbackupninja.git r263@crapouille: intrigeri | 2005-12-28 21:19:10 +0100 Reverted indentation level to 3. git-svn-id: http://code.autistici.org/svn/backupninja/trunk@297 758a04ac-41e6-0310-8a23-8373a73cc35d --- diff --git a/handlers/dup b/handlers/dup index 1b899da..b6c2bfd 100644 --- a/handlers/dup +++ b/handlers/dup @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- # # duplicity script for backupninja # requires duplicity diff --git a/handlers/dup.helper b/handlers/dup.helper index 7036dd8..a439e67 100644 --- a/handlers/dup.helper +++ b/handlers/dup.helper @@ -1,4 +1,5 @@ -# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- + HELPERS="$HELPERS dup:incremental_encrypted_remote_filesystem_backup" ### Functions diff --git a/handlers/ldap b/handlers/ldap index 9ec48a7..e6bdb22 100644 --- a/handlers/ldap +++ b/handlers/ldap @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- # # openldap backup handler script for backupninja # diff --git a/handlers/ldap.helper b/handlers/ldap.helper index cfc9933..9aecec8 100644 --- a/handlers/ldap.helper +++ b/handlers/ldap.helper @@ -1,4 +1,5 @@ -# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- + HELPERS="$HELPERS ldap:ldap_database_backup" ldap_create_file() { diff --git a/handlers/maildir b/handlers/maildir index b678b83..1bca84e 100644 --- a/handlers/maildir +++ b/handlers/maildir @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- ############################################################### # diff --git a/handlers/makecd b/handlers/makecd index 97951d2..b176994 100644 --- a/handlers/makecd +++ b/handlers/makecd @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- # # burncd handler script for backupninja # diff --git a/handlers/makecd.helper b/handlers/makecd.helper index 3485f39..f83b541 100644 --- a/handlers/makecd.helper +++ b/handlers/makecd.helper @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- HELPERS="$HELPERS makecd:makecd_backup" wizardname="makecd action wizard" diff --git a/handlers/mysql b/handlers/mysql index 277a345..7ca9ab6 100644 --- a/handlers/mysql +++ b/handlers/mysql @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- # # mysql handler script for backupninja # diff --git a/handlers/mysql.helper b/handlers/mysql.helper index 46cb8bc..9622d41 100644 --- a/handlers/mysql.helper +++ b/handlers/mysql.helper @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- HELPERS="$HELPERS mysql:mysql_database_backup" diff --git a/handlers/pgsql b/handlers/pgsql index 7786809..ccfe759 100644 --- a/handlers/pgsql +++ b/handlers/pgsql @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- # # PostgreSQL handler script for backupninja # diff --git a/handlers/pgsql.helper b/handlers/pgsql.helper index 6a5bbef..2b05339 100644 --- a/handlers/pgsql.helper +++ b/handlers/pgsql.helper @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- HELPERS="$HELPERS pgsql:postgresql_database_backup" diff --git a/handlers/rdiff b/handlers/rdiff index 08e24eb..209606d 100644 --- a/handlers/rdiff +++ b/handlers/rdiff @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- # # rdiff-backup handler script for backupninja # requires rdiff-backup diff --git a/handlers/rdiff.helper b/handlers/rdiff.helper index fa61e3f..7058e6e 100644 --- a/handlers/rdiff.helper +++ b/handlers/rdiff.helper @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- HELPERS="$HELPERS rdiff:incremental_remote_filesystem_backup" diff --git a/handlers/sh b/handlers/sh index a2b64b9..f9f1926 100644 --- a/handlers/sh +++ b/handlers/sh @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- # # shell script handler for backupninja # runs the file /etc/backup.d/scriptname.sh diff --git a/handlers/svn b/handlers/svn index 891b8e9..26afafd 100644 --- a/handlers/svn +++ b/handlers/svn @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- # # this handler will backup subversion repostitories. # diff --git a/handlers/sys b/handlers/sys index 94f76cf..dd49a3e 100755 --- a/handlers/sys +++ b/handlers/sys @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- # # this handler will save various reports of vital system information. # by default, all the reports are enabled and are saved in /var/backups. diff --git a/handlers/sys.helper b/handlers/sys.helper index 21e5370..b6e3b8c 100644 --- a/handlers/sys.helper +++ b/handlers/sys.helper @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- HELPERS="$HELPERS sys:general_hardware_and_system_info" diff --git a/handlers/trac b/handlers/trac index fb5052c..5427924 100644 --- a/handlers/trac +++ b/handlers/trac @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- # # this handler will backup trac environments (based on the svn handler) # diff --git a/src/backupninja.in b/src/backupninja.in index 5db2ff1..9330902 100755 --- a/src/backupninja.in +++ b/src/backupninja.in @@ -1,5 +1,5 @@ #!@BASH@ -# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- # # |\_ # B A C K U P N I N J A /()/ diff --git a/src/ninjahelper.in b/src/ninjahelper.in index e191f60..e029b3d 100755 --- a/src/ninjahelper.in +++ b/src/ninjahelper.in @@ -1,5 +1,5 @@ #!@BASH@ -# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- #################################################### ## Functions