Skip to content
Snippets Groups Projects
Unverified Commit f4c0d8dd authored by Weilbyte's avatar Weilbyte Committed by GitHub
Browse files

Create ddRemove.sh

parent 17799d2c
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
Say () {
printf "\e[1;34m $1 \e[0m \n";
}
DotSay () {
printf "[\e[1;34m*\e[0m] \e[0;34m $1 \e[0m \n";
}
Say '[PVE Discord Dark UI Theme Remover]'
Say '>Press any key to remove theme'
read -p ""
Say ' '
DotSay 'Reverting html template change'
rm /usr/share/pve-manager/index.html.tpl
cp /usr/share/pve-manager/index.html.tpl.bak /usr/share/pve-manager/index.html.tpl
DotSay 'Removing images'
cd /usr/share/pve-manager/images
rm dd_*
Say ''
Say 'Theme removed!'
Say 'o7'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment