Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ct/bytestash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function update_script() {
RELEASE=$(curl -fsSL https://api.github.com/repos/jordan-dalby/ByteStash/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
if [[ "${RELEASE}" != "$(cat ~/.bytestash 2>/dev/null)" ]] || [[ ! -f ~/.bytestash ]]; then

read -rp "${TAB3}Did you make a backup via application WebUI? (y/n): " backuped
read -r -p "${TAB3}Did you make a backup via application WebUI? (y/n): " backuped
if [[ "$backuped" =~ ^[Yy]$ ]]; then
msg_info "Stopping Services"
systemctl stop bytestash-backend
Expand Down
2 changes: 1 addition & 1 deletion ct/homarr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ EOF
systemctl start homarr
msg_ok "Started Services"
msg_ok "Updated Successfully"
read -p "${TAB3}It's recommended to reboot the LXC after an update, would you like to reboot the LXC now ? (y/n): " choice
read -r -p "${TAB3}It's recommended to reboot the LXC after an update, would you like to reboot the LXC now ? (y/n): " choice
if [[ "$choice" =~ ^[Yy]$ ]]; then
reboot
fi
Expand Down
2 changes: 1 addition & 1 deletion install/authelia-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ update_os

fetch_and_deploy_gh_release "authelia" "authelia/authelia" "binary"

read -rp "${TAB3}Enter your domain (ex. example.com): " DOMAIN
read -r -p "${TAB3}Enter your domain (ex. example.com): " DOMAIN

msg_info "Setting Authelia up"
touch /etc/authelia/emails.txt
Expand Down
2 changes: 1 addition & 1 deletion install/bytestash-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ cd /opt/bytestash/client
$STD npm install
msg_ok "Installed ByteStash"

read -rp "${TAB3}Do you want to allow registration of multiple accounts? [y/n]: " allowreg
read -r -p "${TAB3}Do you want to allow registration of multiple accounts? [y/n]: " allowreg

msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/bytestash-backend.service
Expand Down
8 changes: 4 additions & 4 deletions install/cloudflare-ddns-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ update_os
setup_go

var_cf_api_token="default"
read -rp "${TAB3}Enter the Cloudflare API token: " var_cf_api_token
read -r -p "${TAB3}Enter the Cloudflare API token: " var_cf_api_token

var_cf_domains="default"
read -rp "${TAB3}Enter the domains separated with a comma (*.example.org,www.example.org) " var_cf_domains
read -r -p "${TAB3}Enter the domains separated with a comma (*.example.org,www.example.org) " var_cf_domains

var_cf_proxied="false"
while true; do
read -rp "${TAB3}Proxied? (y/n): " answer
read -r -p "${TAB3}Proxied? (y/n): " answer
case "$answer" in
[Yy]*)
var_cf_proxied="true"
Expand All @@ -38,7 +38,7 @@ while true; do
done
var_cf_ip6_provider="none"
while true; do
read -rp "${TAB3}Enable IPv6 support? (y/n): " answer
read -r -p "${TAB3}Enable IPv6 support? (y/n): " answer
case "$answer" in
[Yy]*)
var_cf_ip6_provider="auto"
Expand Down
2 changes: 1 addition & 1 deletion install/cryptpad-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ msg_ok "Installed Dependencies"

NODE_VERSION="22" setup_nodejs

read -rp "${TAB3}Install OnlyOffice components instead of CKEditor? (Y/N): " onlyoffice
read -r -p "${TAB3}Install OnlyOffice components instead of CKEditor? (Y/N): " onlyoffice
fetch_and_deploy_gh_release "cryptpad" "cryptpad/cryptpad"

msg_info "Setup ${APPLICATION}"
Expand Down
2 changes: 1 addition & 1 deletion install/elementsynapse-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ msg_ok "Installed Dependencies"

NODE_VERSION="22" NODE_MODULE="yarn@latest" setup_nodejs

read -p "${TAB3}Please enter the name for your server: " servername
read -r -p "${TAB3}Please enter the name for your server: " servername

msg_info "Installing Element Synapse"
curl -fsSL "https://packages.matrix.org/debian/matrix-org-archive-keyring.gpg" -o "/usr/share/keyrings/matrix-org-archive-keyring.gpg"
Expand Down
6 changes: 3 additions & 3 deletions install/kometa-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ cp config/config.yml.template config/config.yml
echo "${RELEASE}" >/opt/kometa_version.txt
msg_ok "Setup Kometa"

read -p "${TAB3}nter your TMDb API key: " TMDBKEY
read -p "${TAB3}Enter your Plex URL: " PLEXURL
read -p "${TAB3}Enter your Plex token: " PLEXTOKEN
read -r -p "${TAB3}nter your TMDb API key: " TMDBKEY
read -r -p "${TAB3}Enter your Plex URL: " PLEXURL
read -r -p "${TAB3}Enter your Plex token: " PLEXTOKEN
sed -i -e "s#url: http://192.168.1.12:32400#url: $PLEXURL #g" /opt/kometa/config/config.yml
sed -i -e "s/token: ####################/token: $PLEXTOKEN/g" /opt/kometa/config/config.yml
sed -i -e "s/apikey: ################################/apikey: $TMDBKEY/g" /opt/kometa/config/config.yml
Expand Down
2 changes: 1 addition & 1 deletion install/komodo-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ msg_ok "Installed Docker"
echo "${TAB3}Choose the database for Komodo installation:"
echo "${TAB3}1) MongoDB (recommended)"
echo "${TAB3}2) FerretDB"
read -rp "${TAB3}Enter your choice (default: 1): " DB_CHOICE
read -r -p "${TAB3}Enter your choice (default: 1): " DB_CHOICE
DB_CHOICE=${DB_CHOICE:-1}

case $DB_CHOICE in
Expand Down
2 changes: 1 addition & 1 deletion install/minio-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ echo "Choose which version to install:"
echo " [N] Feature-rich community version ($FEATURE_RICH_VERSION) [Recommended]"
echo " [Y] Latest version (may lack UI features)"
echo
read -p "Install latest MinIO version? [y/N]: " -n 1 -r
read -r -p "Install latest MinIO version? [y/N]: " -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]; then
USE_LATEST=true
Expand Down
2 changes: 1 addition & 1 deletion install/mongodb-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ setting_up_container
network_check
update_os

read -p "${TAB3}Do you want to install MongoDB 8.0 instead of 7.0? [y/N]: " install_mongodb_8
read -r -p "${TAB3}Do you want to install MongoDB 8.0 instead of 7.0? [y/N]: " install_mongodb_8
if [[ "$install_mongodb_8" =~ ^[Yy]$ ]]; then
MONGODB_VERSION="8.0"
else
Expand Down
2 changes: 1 addition & 1 deletion install/navidrome-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ systemctl enable -q --now navidrome
echo "${RELEASE}" >/opt/Navidrome_version.txt
msg_ok "Installed Navidrome"

read -p "${TAB3}Do you want to install filebrowser addon? (y/n) " -n 1 -r
read -r -p "${TAB3}Do you want to install filebrowser addon? (y/n) " -n 1 -r
if [[ $REPLY =~ ^[Yy]$ ]]; then
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/addon/filebrowser.sh)"
fi
Expand Down
8 changes: 4 additions & 4 deletions install/paperless-gpt-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,16 @@ echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt"
msg_ok "Setup Paperless-GPT"

mkdir -p /opt/paperless-gpt-data
read -p "${TAB3}Do you want to enter the Paperless local URL now? (y/n) " input_url
read -r -p "${TAB3}Do you want to enter the Paperless local URL now? (y/n) " input_url
if [[ "$input_url" =~ ^[Yy]$ ]]; then
read -p "${TAB3}Enter your Paperless-NGX instance URL (e.g., http://192.168.1.100:8000): " PAPERLESS_BASE_URL
read -r -p "${TAB3}Enter your Paperless-NGX instance URL (e.g., http://192.168.1.100:8000): " PAPERLESS_BASE_URL
else
PAPERLESS_BASE_URL="http://your_paperless_ngx_url"
fi

read -p "${TAB3}Do you want to enter the Paperless API token now? (y/n) " input_token
read -r -p "${TAB3}Do you want to enter the Paperless API token now? (y/n) " input_token
if [[ "$input_token" =~ ^[Yy]$ ]]; then
read -p "${TAB3}Enter your Paperless API token: " PAPERLESS_API_TOKEN
read -r -p "${TAB3}Enter your Paperless API token: " PAPERLESS_API_TOKEN
else
PAPERLESS_API_TOKEN="your_paperless_api_token"
fi
Expand Down
6 changes: 3 additions & 3 deletions install/pterodactyl-panel-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ $STD mariadb -u root -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost'; FLUS
} >>~/pterodactyl-panel.creds
msg_ok "Set up MariaDB"

read -p "${TAB3}Provide an email address for admin login, this should be a valid email address: " ADMIN_EMAIL
read -p "${TAB3}Enter your First Name: " NAME_FIRST
read -p "${TAB3}Enter your Last Name: " NAME_LAST
read -r -p "${TAB3}Provide an email address for admin login, this should be a valid email address: " ADMIN_EMAIL
read -r -p "${TAB3}Enter your First Name: " NAME_FIRST
read -r -p "${TAB3}Enter your Last Name: " NAME_LAST

msg_info "Installing pterodactyl Panel"
RELEASE=$(curl -fsSL https://api.github.com/repos/pterodactyl/panel/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
Expand Down
2 changes: 1 addition & 1 deletion tools/addon/add-netbird-lxc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ EOF
header_info
set -e
while true; do
read -p "This will add NetBird to an existing LXC Container ONLY. Proceed(y/n)?" yn
read -r -p "This will add NetBird to an existing LXC Container ONLY. Proceed(y/n)?" yn
case $yn in
[Yy]*) break ;;
[Nn]*) exit ;;
Expand Down
2 changes: 1 addition & 1 deletion tools/addon/add-tailscale-lxc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if ! command -v pveversion &>/dev/null; then
fi

while true; do
read -rp "This will add Tailscale to an existing LXC Container ONLY. Proceed (y/n)? " yn
read -r -p "This will add Tailscale to an existing LXC Container ONLY. Proceed (y/n)? " yn
case "$yn" in
[Yy]*) break ;;
[Nn]*) exit 0 ;;
Expand Down
2 changes: 1 addition & 1 deletion tools/addon/coder-code-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if [ -e /etc/alpine-release ]; then
exit
fi
while true; do
read -p "This will Install ${APP} on $hostname. Proceed(y/n)?" yn
read -r -p "This will Install ${APP} on $hostname. Proceed(y/n)?" yn
case $yn in
[Yy]*) break ;;
[Nn]*) exit ;;
Expand Down
2 changes: 1 addition & 1 deletion tools/addon/crowdsec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ if command -v pveversion >/dev/null 2>&1; then
exit
fi
while true; do
read -p "This will Install ${APP} on $hostname. Proceed(y/n)?" yn
read -r -p "This will Install ${APP} on $hostname. Proceed(y/n)?" yn
case $yn in
[Yy]*) break ;;
[Nn]*) exit ;;
Expand Down
2 changes: 1 addition & 1 deletion tools/addon/glances.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ msg_ok() {
install() {
header_info
while true; do
read -p "This will Install ${APP} on $hostname. Proceed(y/n)?" yn
read -r -p "This will Install ${APP} on $hostname. Proceed(y/n)?" yn
case $yn in
[Yy]*) break ;;
[Nn]*) exit ;;
Expand Down
2 changes: 1 addition & 1 deletion tools/addon/netdata.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function msg_ok() {
install() {
header_info
while true; do
read -p "Are you sure you want to install NetData on Proxmox VE host. Proceed(y/n)?" yn
read -r -p "Are you sure you want to install NetData on Proxmox VE host. Proceed(y/n)?" yn
case $yn in
[Yy]*) break ;;
[Nn]*) exit ;;
Expand Down
2 changes: 1 addition & 1 deletion tools/addon/olivetin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ set-e
header_info

while true; do
read -p "This will Install ${APP} on $hostname. Proceed(y/n)?" yn
read -r -p "This will Install ${APP} on $hostname. Proceed(y/n)?" yn
case $yn in
[Yy]*) break ;;
[Nn]*) exit ;;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if ! command -v pveversion >/dev/null 2>&1; then
exit
fi
while true; do
read -p "Use to copy all data from one Home Assistant LXC to another. Proceed(y/n)?" yn
read -r -p "Use to copy all data from one Home Assistant LXC to another. Proceed(y/n)?" yn
case $yn in
[Yy]*) break ;;
[Nn]*) exit ;;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if ! command -v pveversion >/dev/null 2>&1; then
exit
fi
while true; do
read -p "Use to copy all data from a Home Assistant Container LXC to a Home Assistant Core LXC. Proceed(y/n)?" yn
read -r -p "Use to copy all data from a Home Assistant Container LXC to a Home Assistant Core LXC. Proceed(y/n)?" yn
case $yn in
[Yy]*) break ;;
[Nn]*) exit ;;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if ! command -v pveversion >/dev/null 2>&1; then
exit
fi
while true; do
read -p "Use to copy all data from a Home Assistant LXC to a Podman Home Assistant LXC. Proceed(y/n)?" yn
read -r -p "Use to copy all data from a Home Assistant LXC to a Podman Home Assistant LXC. Proceed(y/n)?" yn
case $yn in
[Yy]*) break ;;
[Nn]*) exit ;;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if ! command -v pveversion >/dev/null 2>&1; then
exit
fi
while true; do
read -p "Use to copy all data from a Home Assistant Core LXC to a Home Assistant Container LXC. Proceed(y/n)?" yn
read -r -p "Use to copy all data from a Home Assistant Core LXC to a Home Assistant Container LXC. Proceed(y/n)?" yn
case $yn in
[Yy]*) break ;;
[Nn]*) exit ;;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if ! command -v pveversion >/dev/null 2>&1; then
exit
fi
while true; do
read -p "Use to copy all data from a Home Assistant Core LXC to a Home Assistant Core LXC. Proceed(y/n)?" yn
read -r -p "Use to copy all data from a Home Assistant Core LXC to a Home Assistant Core LXC. Proceed(y/n)?" yn
case $yn in
[Yy]*) break ;;
[Nn]*) exit ;;
Expand Down
2 changes: 1 addition & 1 deletion tools/copy-data/plex-copy-data-plex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if ! command -v pveversion >/dev/null 2>&1; then
exit
fi
while true; do
read -p "Use to copy all data from one Plex Media Server LXC to another. Proceed(y/n)?" yn
read -r -p "Use to copy all data from one Plex Media Server LXC to another. Proceed(y/n)?" yn
case $yn in
[Yy]*) break ;;
[Nn]*) exit ;;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if ! command -v pveversion >/dev/null 2>&1; then
exit
fi
while true; do
read -p "Use to copy all data from a Podman Home Assistant LXC to a Docker Home Assistant LXC. Proceed(y/n)?" yn
read -r -p "Use to copy all data from a Podman Home Assistant LXC to a Docker Home Assistant LXC. Proceed(y/n)?" yn
case $yn in
[Yy]*) break ;;
[Nn]*) exit ;;
Expand Down
2 changes: 1 addition & 1 deletion tools/copy-data/z2m-copy-data-z2m.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if ! command -v pveversion >/dev/null 2>&1; then
exit
fi
while true; do
read -p "Use to copy all data from one Zigbee2MQTT LXC to another. Proceed(y/n)?" yn
read -r -p "Use to copy all data from one Zigbee2MQTT LXC to another. Proceed(y/n)?" yn
case $yn in
[Yy]*) break ;;
[Nn]*) exit ;;
Expand Down
2 changes: 1 addition & 1 deletion tools/copy-data/zwavejs2mqtt-copy-data-zwavejsui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if ! command -v pveversion >/dev/null 2>&1; then
exit
fi
while true; do
read -p "Use to copy all data from a Zwavejs2MQTT LXC to a Z-wave JS UI LXC. Proceed(y/n)?" yn
read -r -p "Use to copy all data from a Zwavejs2MQTT LXC to a Z-wave JS UI LXC. Proceed(y/n)?" yn
case $yn in
[Yy]*) break ;;
[Nn]*) exit ;;
Expand Down
6 changes: 3 additions & 3 deletions tools/pve/add-iptag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ update_installation() {
if [[ -f "/opt/iptag/iptag.conf" ]]; then
echo -e "\n${YW}Configuration file already exists.${CL}"
while true; do
read -p "Do you want to replace it with defaults? (y/n): " yn
read -r -p "Do you want to replace it with defaults? (y/n): " yn
case $yn in
[Yy]*)
msg_info "Replacing configuration file"
Expand Down Expand Up @@ -1215,7 +1215,7 @@ EOF
# Main installation process
if check_service_exists; then
while true; do
read -p "IP-Tag service is already installed. Do you want to update it? (y/n): " yn
read -r -p "IP-Tag service is already installed. Do you want to update it? (y/n): " yn
case $yn in
[Yy]*)
update_installation
Expand All @@ -1233,7 +1233,7 @@ if check_service_exists; then
fi

while true; do
read -p "This will install ${APP} on ${hostname}. Proceed? (y/n): " yn
read -r -p "This will install ${APP} on ${hostname}. Proceed? (y/n): " yn
case $yn in
[Yy]*)
break
Expand Down
2 changes: 1 addition & 1 deletion tools/pve/clean-orphaned-lvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function delete_orphaned_lvm {
vg="${orphaned_volumes[i + 1]}"
size="${orphaned_volumes[i + 2]}"

read -p "❓ Do you want to delete $lv (VG: $vg, Size: $size)? [y/N]: " confirm
read -r -p "❓ Do you want to delete $lv (VG: $vg, Size: $size)? [y/N]: " confirm
if [[ "$confirm" =~ ^[Yy]$ ]]; then
echo -e "🗑️ Deleting $lv from $vg..."
lvremove -f "$vg/$lv"
Expand Down
2 changes: 1 addition & 1 deletion tools/pve/container-restore-from-backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ CM="${GN}✓${CL}"
CROSS="${RD}✗${CL}"
APP="Home Assistant Container"
while true; do
read -p "This will restore ${APP} from a backup. Proceed(y/n)?" yn
read -r -p "This will restore ${APP} from a backup. Proceed(y/n)?" yn
case $yn in
[Yy]*) break ;;
[Nn]*) exit ;;
Expand Down
2 changes: 1 addition & 1 deletion tools/pve/core-restore-from-backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ CM="${GN}✓${CL}"
CROSS="${RD}✗${CL}"
APP="Home Assistant Core"
while true; do
read -p "This will restore ${APP} from a backup. Proceed(y/n)?" yn
read -r -p "This will restore ${APP} from a backup. Proceed(y/n)?" yn
case $yn in
[Yy]*) break ;;
[Nn]*) exit ;;
Expand Down
2 changes: 1 addition & 1 deletion tools/pve/cron-update-lxcs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ EOF

add() {
while true; do
read -p "This script will add a crontab schedule that updates all LXCs every Sunday at midnight. Proceed(y/n)?" yn
read -r -p "This script will add a crontab schedule that updates all LXCs every Sunday at midnight. Proceed(y/n)?" yn
case $yn in
[Yy]*) break ;;
[Nn]*) exit ;;
Expand Down
2 changes: 1 addition & 1 deletion tools/pve/frigate-support.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ EOF
}
header_info
while true; do
read -p "This will Prepare a LXC Container for Frigate. Proceed (y/n)?" yn
read -r -p "This will Prepare a LXC Container for Frigate. Proceed (y/n)?" yn
case $yn in
[Yy]*) break ;;
[Nn]*) exit ;;
Expand Down
2 changes: 1 addition & 1 deletion tools/pve/host-backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function perform_backup {
# Perform the backup
header_info
echo -e "This will create a backup in\e[1;33m $BACKUP_PATH \e[0mfor these files and directories\e[1;33m ${selected_directories[*]} \e[0m"
read -p "Press ENTER to continue..."
read -r -p "Press ENTER to continue..."
header_info
echo "Working..."
tar -czf "$BACKUP_PATH$BACKUP_FILE-$(date +%Y_%m_%d).tar.gz" --absolute-names "${selected_directories[@]}"
Expand Down
2 changes: 1 addition & 1 deletion tools/pve/kernel-clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ fi
# Confirm removal
echo -e "${YW}Kernels to be removed:${CL}"
printf "%s\n" "${kernels_to_remove[@]}"
read -rp "Proceed with removal? (y/n): " confirm
read -r -p "Proceed with removal? (y/n): " confirm
if [[ "$confirm" != "y" ]]; then
echo -e "${RD}Aborted.${CL}"
exit 1
Expand Down
Loading