Upgraded YAMS version to v2.0 #60
11
docs.org
11
docs.org
@ -183,7 +183,10 @@ read -p "Where do you want to install the docker-compose file? [$default_install
|
|||||||
install_location=${install_location:-$default_install_location}
|
install_location=${install_location:-$default_install_location}
|
||||||
|
|
||||||
if [ ! -d "$install_location" ]; then
|
if [ ! -d "$install_location" ]; then
|
||||||
if ! mkdir -p "$install_location"; then
|
echo "The directory \"$install_location\" does not exists. Attempting to create..."
|
||||||
|
if mkdir -p "$install_location"; then
|
||||||
|
send_success_message "Directory $install_location created ✅"
|
||||||
|
else
|
||||||
send_error_message "There was an error creating the installation directory at \"$install_location\". Make sure you have the necessary permissions ❌"
|
send_error_message "There was an error creating the installation directory at \"$install_location\". Make sure you have the necessary permissions ❌"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@ -224,10 +227,10 @@ media_directory_correct=${media_directory_correct:-"n"}
|
|||||||
|
|
||||||
if [ ! -d "$media_directory" ]; then
|
if [ ! -d "$media_directory" ]; then
|
||||||
echo "The directory \"$media_directory\" does not exists. Attempting to create..."
|
echo "The directory \"$media_directory\" does not exists. Attempting to create..."
|
||||||
if ! mkdir -p "$media_directory"; then
|
if mkdir -p "$media_directory"; then
|
||||||
send_error_message "There was an error creating the installation directory at \"$media_directory\". Make sure you have the necessary permissions ❌"
|
|
||||||
else
|
|
||||||
send_success_message "Directory $media_directory created ✅"
|
send_success_message "Directory $media_directory created ✅"
|
||||||
|
else
|
||||||
|
send_error_message "There was an error creating the installation directory at \"$media_directory\". Make sure you have the necessary permissions ❌"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
11
install.sh
11
install.sh
@ -77,7 +77,10 @@ read -p "Where do you want to install the docker-compose file? [$default_install
|
|||||||
install_location=${install_location:-$default_install_location}
|
install_location=${install_location:-$default_install_location}
|
||||||
|
|
||||||
if [ ! -d "$install_location" ]; then
|
if [ ! -d "$install_location" ]; then
|
||||||
if ! mkdir -p "$install_location"; then
|
echo "The directory \"$install_location\" does not exists. Attempting to create..."
|
||||||
|
if mkdir -p "$install_location"; then
|
||||||
|
send_success_message "Directory $install_location created ✅"
|
||||||
|
else
|
||||||
send_error_message "There was an error creating the installation directory at \"$install_location\". Make sure you have the necessary permissions ❌"
|
send_error_message "There was an error creating the installation directory at \"$install_location\". Make sure you have the necessary permissions ❌"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@ -104,10 +107,10 @@ media_directory_correct=${media_directory_correct:-"n"}
|
|||||||
|
|
||||||
if [ ! -d "$media_directory" ]; then
|
if [ ! -d "$media_directory" ]; then
|
||||||
echo "The directory \"$media_directory\" does not exists. Attempting to create..."
|
echo "The directory \"$media_directory\" does not exists. Attempting to create..."
|
||||||
if ! mkdir -p "$media_directory"; then
|
if mkdir -p "$media_directory"; then
|
||||||
send_error_message "There was an error creating the installation directory at \"$media_directory\". Make sure you have the necessary permissions ❌"
|
|
||||||
else
|
|
||||||
send_success_message "Directory $media_directory created ✅"
|
send_success_message "Directory $media_directory created ✅"
|
||||||
|
else
|
||||||
|
send_error_message "There was an error creating the installation directory at \"$media_directory\". Make sure you have the necessary permissions ❌"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user