https://bugs.koozali.org/show_bug.cgi?id=11970

--- Comment #30 from Terry Fage <[email protected]> ---
Comment on attachment 6748
  --> https://bugs.koozali.org/attachment.cgi?id=6748
Updated config files to 3.0RC6 to match the main script and added a debug
setting for the conf files

I think a typing error in the latest patch this

+++
smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/automysqlbackup/mymaria.conf/10start
      2022-08-13 22:32:23.173622377 +0100
@@ -2,6 +2,7 @@
 my $mymaria = ${'mariadb'}{'status'} || 'disabled';
 my $myauto = ${'automysqlbackup'}{'Mymaria'} || 'enabled';
 our $status =  ( $mymaria eq 'enabled' && $myauto eq 'enabled' ) ? 'enabled' :
'disabled';
+my $debug = ${'automysqlbackup'}{'debug'} || 'disabled';

 if ($status eq 'enabled') {
 $OUT .= <<'_EOF';
@@ -12,6 +13,12 @@
 CONFIG_mysql_dump_host_friendly=$SYSTEMNAME
 _EOF
 }
+
+if ($debug eq 'enabled') {
+    $OUT .= "# Debug enabled\n";
+    $OUT .= "CONFIG_debug=\'1\'\n";
+}
+
 else {

should be

 _EOF
+
+if ($debug eq 'enabled') {
+    $OUT .= "# Debug enabled\n";
+    $OUT .= "CONFIG_debug=\'1\'\n";
+}
+
}

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to