Commit Graph

32 Commits

Author SHA1 Message Date
intrigeri
0a0fbb46ba Workaround annoying automake sanity check.
Recent versions of automake prevent us from installing lib/* into
lib/backupninja/. Where else are be supposed to install such files anyway?
2012-01-29 14:36:42 +01:00
intrigeri
6606cce445 easydialog: allow form fields input to grow up to 100 chars (Closes: #562249) 2009-12-24 16:57:31 +01:00
Matthijs Kooijman
78884142e7 Add a vim modeline with indentation settings.
The modelines added match the emacs lines already present and also set
the filetype to sh (just like the emacs lines).
2009-05-23 10:42:20 +02:00
Matthijs Kooijman
4ecaae9405 Make all indentation consistent.
Previously, there were many indentation styles in use: Real tabs, 2, 3
or 4 spaces, mixing these within the same file, function or even within
a single line.

This commit changes all bash scripts in the handlers, src and lib dirs
to use consistent indentation: three spaces are now used everywhere.
Other files (e.g. Makefiles) are left untouched.

Additionally, this commit removes all trailing whitespace.
2009-05-23 10:34:16 +02:00
intrigeri
bc8d817218 autotools: remove requirement on md5sum, which is not used anymore 2008-06-25 09:42:23 +00:00
intrigeri
c235a7ee87 lib/tools.in(maketemp): really remove insecure fall-back if mktemp is missing, since it is now required at build-time 2008-06-25 09:40:13 +00:00
intrigeri
c8b6aeeb72 lib/Makefile.am: fix CLEANFILES, add substitution for MKTEMP, else ninjahelper crashes 2008-06-25 09:33:35 +00:00
Micah Anderson
ca12e5617b made mktemp a requirement for building backupninja, added autotools variables to substitute the proper binary location and removed bad fall-back when mktemp was not there 2008-06-24 18:02:23 +00:00
intrigeri
6c628e78f4 lib/vserver: added vservers_running function, use it in sys handler (to ease future fix for Trac#45) 2008-06-24 15:49:06 +00:00
Micah Anderson
05c26446ed updated autotools abstraction to properly pick up different awk, sed,
and md5sum locations
2007-02-23 18:04:04 +00:00
Micah Anderson
e3f280a3ca Added explicit mktemp template names so that mktemp is more compatible with other versions
than Debian's. Also added Anarcat to the AUTHORS file
2006-06-10 16:14:38 +00:00
Micah Anderson
0e353b42db lost+found was not being removed from the list of found_vservers
because the + was being interpreted by grep -E, I've escaped it
so it will properly be removed
2006-03-15 18:05:43 +00:00
intrigeri
3b3252bfdd lib/vserver.in: fixed #351083 (readlink syntax error) 2006-02-02 20:09:50 +00:00
Micah Anderson
7417d51979 Fix for lib/Makefile.am to install libraries in the right place 2006-01-26 21:40:06 +00:00
Micah Anderson
dd0903db42 Apparantly it is common practice to NOT keep generated files in the repository,
since Makefile.in is generated through autogen.sh or autoreconf, it shouldn't be
put in the repo itself (except on release)
2006-01-26 20:53:34 +00:00
Micah Anderson
ac5f08719b Fixed the Makefile.in to actually work (for real) 2006-01-20 02:36:10 +00:00
Micah Anderson
bb0dd6974e Fixed up Makefiles to actually work 2006-01-20 01:46:14 +00:00
intrigeri
299a530734 lib/vserver.in: new function: vservers_exist
handlers/dup: make use of new lib/vserver functionality
2006-01-19 21:56:53 +00:00
intrigeri
96023985bc lib/vserver.in[init_vservers]: warn if vservers are enabled but no vserver is found 2006-01-19 21:56:44 +00:00
intrigeri
49f1d7f86c lib/vserver.in [init_vservers] : canonicalize VROOTDIR (since duplicity et al. don't follow symlinks) 2006-01-17 22:23:24 +00:00
intrigeri
04ed966851 lib/vserver.in [init_vservers] : test in a stricter way the real vservers availability 2006-01-17 22:23:06 +00:00
intrigeri
fa90006f17 lib/vserver.in: modified init_vservers so that it can also be used by backupninja 2006-01-17 22:22:40 +00:00
intrigeri
2f209f8031 lib/vserver.in: enhanced the VROOTDIR discovery 2006-01-17 22:22:16 +00:00
intrigeri
66d619bf64 add the Emacs header comment line to lib/*.in 2006-01-17 22:21:49 +00:00
Elijah Saxon
413a3be0ac added bug warning in comments 2006-01-09 00:21:28 +00:00
Elijah Saxon
ca36fe1456 fixed indenting 2006-01-09 00:20:48 +00:00
Micah Anderson
bdc92b87e7 r240@um: micah | 2005-12-27 14:54:04 -0500
If vservers weren't enabled it was impossible to enter the src
 menu in ninjahelper due to how these functions returned. This sets
 the variable host_or_vserver='host' when vservers are not available
 and then returns with a nice exit code
2005-12-27 22:13:01 +00:00
intrigeri
d56c0f0aee r3566@krups: intrigeri | 2005-11-17 21:59:38 +0100
ninjahelper: moved (and enhanced) vservers-related functions to lib/vservers. dup.helper, pgsql.helper: use these functions
2005-11-29 10:10:53 +00:00
intrigeri
9208b449da r3562@krups: intrigeri | 2005-11-16 20:20:16 +0100
Moved more code to lib/ (conffile-related functions, parseini. Added dup helper, using new modular vservers-related functions shared for all helpers.
2005-11-29 10:10:08 +00:00
intrigeri
bac37f747b r3558@krups: intrigeri | 2005-11-15 14:44:17 +0100
Autotools: when cleaning, delete generated files in lib dir.
2005-11-29 10:09:16 +00:00
intrigeri
13149b9600 r3557@krups: intrigeri | 2005-11-15 14:41:32 +0100
Start to move common functions (maketemp) to lib/tools, and better use autotools for lib/{easydialog,tools}.
2005-11-29 10:09:04 +00:00
intrigeri
280fdac2bc r3555@krups: intrigeri | 2005-11-15 13:59:57 +0100
Moved easydialog.sh to lib/ directory: more code is going to be shared, let's start here.
2005-11-29 10:08:41 +00:00