weorkan on instal,ler
This commit is contained in:
+11
-6
@@ -14,16 +14,21 @@ if [ -f /etc/systemd/system/dreammaker.service ]; then
|
||||
sudo rm /etc/systemd/system/dreammaker.service 2>/dev/null
|
||||
fi
|
||||
|
||||
if [ ! -f $HOME/.discord_url ]; then
|
||||
echo -e "Enter Discord Webhook URL\n\tRight click on server->server settings->integrations"
|
||||
read discord_file
|
||||
echo "$discord_file" > $HOME/.discord_url
|
||||
if [ ! -d /usr/share/DREAMMAKER ]; then
|
||||
echo "Creating Files"
|
||||
sudo mkdir -p /usr/share/DREAMMAKER
|
||||
fi
|
||||
|
||||
if [ ! -f $HOME/.discord_tag ]; then
|
||||
if [ ! -f /usr/share/DREAMMAKER/.discord_url ]; then
|
||||
echo -e "Enter Discord Webhook URL\n\tRight click on server->server settings->integrations"
|
||||
read discord_file
|
||||
echo "$discord_file" > /usr/share/DREAMMAKER/.discord_url
|
||||
fi
|
||||
|
||||
if [ ! -f /usr/share/DREAMMAKER/.discord_tag ]; then
|
||||
echo -e "Enter Discord Member group to tag\n\tuse a backslash when tagging the roll like \\@notifications"
|
||||
read discord_tag_file
|
||||
echo "$discord_tag_file" > $HOME/.discord_tag
|
||||
echo "$discord_tag_file" > /usr/share/DREAMMAKER/.discord_tag
|
||||
fi
|
||||
|
||||
# install itt
|
||||
|
||||
Reference in New Issue
Block a user