Skip to content

Commit d2acfc4

Browse files
committed
restore - dont browse .gpg files
1 parent 3d794a8 commit d2acfc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/usr/local/bin/restore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ control_c() {
8383
get_filename() {
8484
COLUMNS=12
8585
prompt="Please select a file to restore:"
86-
options=( $(find "${DEFAULT_FILESYSTEM_PATH}" -type f -maxdepth 2 -not -name '*.md5' -not -name '*.sha1' -print0 | sort -z | xargs -0) )
86+
options=( $(find "${DEFAULT_FILESYSTEM_PATH}" -type f -maxdepth 2 -not -name '*.md5' -not -name '*.sha1' -not -name '*.gpg' -print0 | sort -z | xargs -0) )
8787
PS3="$prompt "
8888
select opt in "${options[@]}" "Custom" "Quit" ; do
8989
if (( REPLY == 2 + ${#options[@]} )) ; then

0 commit comments

Comments
 (0)