]> git.pld-linux.org Git - projects/setup.git/commitdiff
- added gshadow
authorMichal Moskal <michal@moskal.me>
Mon, 13 Aug 2001 13:16:44 +0000 (13:16 +0000)
committerMichal Moskal <michal@moskal.me>
Mon, 13 Aug 2001 13:16:44 +0000 (13:16 +0000)
Changed files:
    joinpasswd.c -> 1.4

joinpasswd.c

index 5c1bde8b002d031ea0dcb8f245e67eb09c83265f..520fd303b3c8a9521236676872bf422ac4634fbf 100644 (file)
@@ -68,6 +68,7 @@
 #define FILE1 "/etc/passwd"
 #define FILE2 "/etc/shadow"
 #define FILE3 "/etc/group"
+#define FILE4 "/etc/gshadow"
 
 #define SUFFIX ".rpmnew"
 /* maybe "-" or sth? */
@@ -277,10 +278,11 @@ int join(const char *old_name, const char *new_name, const char *backup_name)
 
 int main()
 {
-#if 
+#if 1
        join(FILE1, FILE1 SUFFIX, FILE1 BACKUP);
        join(FILE2, FILE2 SUFFIX, FILE2 BACKUP);
        join(FILE3, FILE3 SUFFIX, FILE3 BACKUP);
+       join(FILE4, FILE4 SUFFIX, FILE4 BACKUP);
 #else
        join("test", "test.new", "test.old");
 #endif
This page took 0.036058 seconds and 4 git commands to generate.