1754707529

This commit is contained in:
2025-08-08 20:45:28 -06:00
parent dfb807be92
commit d5f93d5196
+4 -2
View File
@@ -10,6 +10,8 @@ else
username="$SUDO_USER" username="$SUDO_USER"
fi fi
echo -e "\nConfigure Discord Webhook Settings"
# get webhook url # get webhook url
echo -e "\nEnter Discord Webhook URL" echo -e "\nEnter Discord Webhook URL"
read webhook_url read webhook_url
@@ -23,11 +25,11 @@ sudo bash -c "echo '$webhook_url' > $finalDir/webhook.txt"
sudo bash -c "echo '$webhook_tag' > $finalDir/tag.txt" sudo bash -c "echo '$webhook_tag' > $finalDir/tag.txt"
# fix ownership # fix ownership
echo "Changing ownership of $finalDir to $username:$username recursively" echo -e "\nChanging ownership of $finalDir to $username:$username recursively"
sudo chown -R $username:$username $finalDir sudo chown -R $username:$username $finalDir
# fix perms # fix perms
echo "Setting perms of $finalDir and contents to 775" echo -e "\nSetting perms of $finalDir and contents to 775"
sudo chmod -R 775 $finalDir sudo chmod -R 775 $finalDir
echo -e "\n\nDone! Restart shell:\n\texec \"\$SHELL\"\n" echo -e "\n\nDone! Restart shell:\n\texec \"\$SHELL\"\n"