updated for a couple paths that weren't doing the right thing.
authorroot <root@curie.gruntose.blurgh>
Sat, 17 Sep 2016 22:56:22 +0000 (18:56 -0400)
committerroot <root@curie.gruntose.blurgh>
Sat, 17 Sep 2016 22:56:22 +0000 (18:56 -0400)
strangely, *.bak can be removed from the archive properly, but
etc/alternatives/* was failing.  not sure how things are working.

scripts/archival/snarf_linux_config.pl

index d333c5c416c4c0088b89b868c6c803fed31b674a..e6a060b17d7c4f44aae4bde0f47928a73e5a2cb8 100644 (file)
@@ -73,14 +73,14 @@ unlink $infofile;
 # clean out extra files.
 &remove_from_backup($snarf_file_base, $number, "etc/cups/ppds.dat*");
 &remove_from_backup($snarf_file_base, $number, "etc/httpd/conf/ssl.crt/ca-bundle.crt");
-&remove_from_backup($snarf_file_base, $number, "etc/locale/*");
-&remove_from_backup($snarf_file_base, $number, "etc/alternatives/*");
+&remove_from_backup($snarf_file_base, $number, "etc/locale");
+&remove_from_backup($snarf_file_base, $number, "etc/alternatives");
 &remove_from_backup($snarf_file_base, $number, "etc/opt/kde3/share/services/ksycoca");
-&remove_from_backup($snarf_file_base, $number, "etc/preload.d/*");
+&remove_from_backup($snarf_file_base, $number, "etc/preload.d");
 &remove_from_backup($snarf_file_base, $number, "etc/rmt");
 &remove_from_backup($snarf_file_base, $number, "etc/termcap");
 &remove_from_backup($snarf_file_base, $number, "etc/X11/X");
-&remove_from_backup($snarf_file_base, $number, "etc/X11/xkb/*");
+&remove_from_backup($snarf_file_base, $number, "etc/X11/xkb");
 &remove_from_backup($snarf_file_base, $number, "*.bak");
 &remove_from_backup($snarf_file_base, $number, "*.cache");
 &remove_from_backup($snarf_file_base, $number, "*.crt");