+Locale catalogs rewriting if --enable-bundle.
[udpgate.git] / src / startup-chkconfig.c
index c397f46..79a610b 100644 (file)
@@ -94,7 +94,11 @@ const gchar *command="chkconfig --add " PACKAGE;
                return FALSE;
 
 #ifdef ENABLE_BUNDLE
-       if (!bundle_util_file_write(INIT_D_PATHNAME,PACKAGE ".init",0755))
+       if (!bundle_util_file_write(
+                       INIT_D_PATHNAME,        /* pathname */
+                       PACKAGE ".init",        /* basename */
+                       0755,   /* pathname_mode */
+                       TRUE))  /* pathname_backup */
                return FALSE;
 #endif /* ENABLE_BUNDLE */
        status=system(command);