summaryrefslogtreecommitdiff
path: root/LedgerSMB/AM.pm
diff options
context:
space:
mode:
authorlinuxpoet <linuxpoet@4979c152-3d1c-0410-bac9-87ea11338e46>2007-04-11 05:05:42 +0000
committerlinuxpoet <linuxpoet@4979c152-3d1c-0410-bac9-87ea11338e46>2007-04-11 05:05:42 +0000
commitcf309accf8c66c69f64ca1b06ab938a458781a16 (patch)
tree27d26888db76f0371b32fc6fb63a7b5130297d5d /LedgerSMB/AM.pm
parent1c162ebf2bf0fcd653ced116b87f4e26ae0b4667 (diff)
add prefix c thus sqlc for binary formats (to please Seneca)
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1064 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB/AM.pm')
-rwxr-xr-xLedgerSMB/AM.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/AM.pm b/LedgerSMB/AM.pm
index c0f574e5..c395a0a8 100755
--- a/LedgerSMB/AM.pm
+++ b/LedgerSMB/AM.pm
@@ -1614,7 +1614,7 @@ sub backup {
my $today = scalar localtime;
# compress backup if gzip defined
- my $suffix = "";
+ my $suffix = "c";
if ($form->{media} eq 'email') {
print OUT qx(PGPASSWORD="$myconfig->{dbpasswd}" pg_dump -U $myconfig->{dbuser} -h $myconfig->{dbhost} -Fc -p $myconfig->{dbport} $myconfig->{dbname});