fixing too many arguments
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 22s
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 22s
This commit is contained in:
@@ -241,8 +241,8 @@ install_script() {
|
|||||||
# Check for existing .sha256 files, if there are any, prompt to remove them
|
# Check for existing .sha256 files, if there are any, prompt to remove them
|
||||||
install_log_info "Verifying existing .sha256 files in $META_DIR"
|
install_log_info "Verifying existing .sha256 files in $META_DIR"
|
||||||
for file in "$META_DIR"/*; do
|
for file in "$META_DIR"/*; do
|
||||||
if [ -f "$file" -a -name "*.sha256" ]; then
|
if [ -f "$file" ] && [[ "$file" == *.sha256 ]]; then
|
||||||
install_log_info "Found .sha256 file: $file"
|
install_log_info "Found .sha256 file: \e[96m\e[4m$file\e[0m"
|
||||||
read -p "Do you want to remove this file? [y/N]: " choice </dev/tty
|
read -p "Do you want to remove this file? [y/N]: " choice </dev/tty
|
||||||
if [[ "$choice" == "y" || "$choice" == "Y" ]]; then
|
if [[ "$choice" == "y" || "$choice" == "Y" ]]; then
|
||||||
install_log_info "Removing $file"
|
install_log_info "Removing $file"
|
||||||
|
Reference in New Issue
Block a user