From d2acfc4a886c683e80047368f0851fb4798eca81 Mon Sep 17 00:00:00 2001 From: Dave Conroy Date: Thu, 9 Nov 2023 09:19:39 -0800 Subject: [PATCH] restore - dont browse .gpg files --- install/usr/local/bin/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/usr/local/bin/restore b/install/usr/local/bin/restore index b9d43b9..2097c1a 100755 --- a/install/usr/local/bin/restore +++ b/install/usr/local/bin/restore @@ -83,7 +83,7 @@ control_c() { get_filename() { COLUMNS=12 prompt="Please select a file to restore:" - options=( $(find "${DEFAULT_FILESYSTEM_PATH}" -type f -maxdepth 2 -not -name '*.md5' -not -name '*.sha1' -print0 | sort -z | xargs -0) ) + options=( $(find "${DEFAULT_FILESYSTEM_PATH}" -type f -maxdepth 2 -not -name '*.md5' -not -name '*.sha1' -not -name '*.gpg' -print0 | sort -z | xargs -0) ) PS3="$prompt " select opt in "${options[@]}" "Custom" "Quit" ; do if (( REPLY == 2 + ${#options[@]} )) ; then