How do I fix this mistake error

@πž½πŸ‚πžͺ𝞲𝞳 When i execute my own bin files, I get this happened mistake error. Here the my own bin files (Not sharing my own bin files to other user, It's results before execute):
#!${PREFIX}/bin/bash
Y="$(printf '\033[1;33m')"
G="$(printf '\033[1;32m')"
R="$(printf '\033[1;31m')"

# Input questions
clear
function input_questions() {
read -p "Enter your directory: " my_dir

}

# Checking the directory
function check_directory_message() {
echo -e "${Y} Checking directory......."

}

function complete_check_directory_message() {
echo -e "${G} Your directory has existed."

}

function error_check_directory_message() {
echo -e "${R} Your directory has ain't existed"

}

function check_directory() {
check_directory_message
echo -ne '##### (33%)\r'
sleep 1
echo -ne '############# (66%)\r'
sleep 1
echo -ne '####################### (100%)\r'
echo -ne '\n'
clear
if (( `command -f ${my_dir}` )); then
complete_directory_message
else
error_directory_message
fi
sleep 3
clear

}

# Listing directory
function error_directory_message() {
if (( `command -v figlet` )); then
figlet "${R} [ERROR]"
elif (( `command -v cowsay` )); then
cowsay "${R} [ERROR]"
else
echo -e "${R} [ERROR]"
fi

}

function list_directory() {
if (( `command -v tree` )); then
tree ${my_dir}
elif (( `command -v dir` )); then
dir ${my_dir}
elif (( `command -v ls` )); then
ls -a ${my_dir}
else
error_directory_message
fi

}

# Function collection

function function_collection() {
input_questions
check_directory
list_directory

}

function_collection
#!${PREFIX}/bin/bash
Y="$(printf '\033[1;33m')"
G="$(printf '\033[1;32m')"
R="$(printf '\033[1;31m')"

# Input questions
clear
function input_questions() {
read -p "Enter your directory: " my_dir

}

# Checking the directory
function check_directory_message() {
echo -e "${Y} Checking directory......."

}

function complete_check_directory_message() {
echo -e "${G} Your directory has existed."

}

function error_check_directory_message() {
echo -e "${R} Your directory has ain't existed"

}

function check_directory() {
check_directory_message
echo -ne '##### (33%)\r'
sleep 1
echo -ne '############# (66%)\r'
sleep 1
echo -ne '####################### (100%)\r'
echo -ne '\n'
clear
if (( `command -f ${my_dir}` )); then
complete_directory_message
else
error_directory_message
fi
sleep 3
clear

}

# Listing directory
function error_directory_message() {
if (( `command -v figlet` )); then
figlet "${R} [ERROR]"
elif (( `command -v cowsay` )); then
cowsay "${R} [ERROR]"
else
echo -e "${R} [ERROR]"
fi

}

function list_directory() {
if (( `command -v tree` )); then
tree ${my_dir}
elif (( `command -v dir` )); then
dir ${my_dir}
elif (( `command -v ls` )); then
ls -a ${my_dir}
else
error_directory_message
fi

}

# Function collection

function function_collection() {
input_questions
check_directory
list_directory

}

function_collection
Carefully send me your mistakenly solution idea. πŸ‘€
No description
10 Replies
twaik
twaikβ€’3w ago
1. Do not ping maintainers please. 2. AFAIK You can not use environment variables in shebang. Put the whole path to bash. 3. I do not see nala mentions in the script. I have no idea where you got this and what it needs.
reeaoindiscorx
reeaoindiscorxβ€’3w ago
For your 3. step, Just install nala by this command:
apt install nala -y
apt install nala -y
Komo
Komoβ€’3w ago
what are you trying to do exactly
reeaoindiscorx
reeaoindiscorxβ€’3w ago
I can replaced my apt with my nala, But this could install Python/Python3 and Python PIP, When you install nala by his command, Be mistakenly careful to use nala. πŸ‘€
reeaoindiscorx
reeaoindiscorxβ€’3w ago
Mistakenly carefully trying execute my own bin files against nala mention.
reeaoindiscorx
reeaoindiscorxβ€’3w ago
GitHub
[Bug]: How do I fix this mistake error (Github version) Β· Issue #4...
Problem description <@722419788034474004> When i execute my own bin files, I get this happened mistake error. Here the my own bin files (Not sharing my own bin files to other user, It's r...
Komo
Komoβ€’3w ago
then i'm going to close this, as it's already in Github issues
twaik
twaikβ€’3w ago
I closed github issue because there is post in discord. And pretty sure it is a skill issue.
Komo
Komoβ€’3w ago
rather misunderstanding