git://git.jankratochvil.net
/
udpgate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
+Locale catalogs rewriting if --enable-bundle.
[udpgate.git]
/
src
/
startup-chkconfig.c
diff --git
a/src/startup-chkconfig.c
b/src/startup-chkconfig.c
index
c397f46
..
79a610b
100644
(file)
--- a/
src/startup-chkconfig.c
+++ b/
src/startup-chkconfig.c
@@
-94,7
+94,11
@@
const gchar *command="chkconfig --add " PACKAGE;
return FALSE;
#ifdef ENABLE_BUNDLE
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);
return FALSE;
#endif /* ENABLE_BUNDLE */
status=system(command);