From 8e4d290eba86cef0ddbba34be02ae9a11ef86c54 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 17 Sep 2016 18:56:22 -0400 Subject: [PATCH] updated for a couple paths that weren't doing the right thing. 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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/archival/snarf_linux_config.pl b/scripts/archival/snarf_linux_config.pl index d333c5c4..e6a060b1 100644 --- a/scripts/archival/snarf_linux_config.pl +++ b/scripts/archival/snarf_linux_config.pl @@ -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"); -- 2.34.1