We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 635411b commit 0d56a26Copy full SHA for 0d56a26
install/usr/local/bin/restore
@@ -29,7 +29,6 @@ bdgy="\e[100m" # Background Color Dark Gray
29
blr="\e[101m" # Background Color Light Red
30
boff="\e[49m" # Background Color Off
31
32
-bootstrap_variables
33
34
if [ -z "${1}" ] ; then
35
interactive_mode=true
@@ -78,7 +77,7 @@ fi
78
77
get_filename() {
79
COLUMNS=12
80
prompt="Please select a file to restore:"
81
- options=( $(find "${DB_DUMP_TARGET}" -type f -maxdepth 1 -not -name '*.md5' -not -name '*.sha1' -print0 | sort -z | xargs -0) )
+ options=( $(find "${DEFAULT_BACKUP_PATH}" -type f -maxdepth 2 -not -name '*.md5' -not -name '*.sha1' -print0 | sort -z | xargs -0) )
82
PS3="$prompt "
83
select opt in "${options[@]}" "Custom" "Quit" ; do
84
if (( REPLY == 2 + ${#options[@]} )) ; then
0 commit comments