Created
May 7, 2018 20:22
-
-
Save GloriousEggroll/2da80d328935f6a45d8be9c1d4a7c0d9 to your computer and use it in GitHub Desktop.
A quick bash script to remove anarchy linux branding post-install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sed -i -e 's/Anarchy/Arch/g' /etc/lsb-release | |
sed -i -e 's/Anarchy/Arch/g' /etc/os-release | |
sed -i -e 's/anarchy/arch/g' /etc/os-release | |
sed -i -e 's/arch-linux/www.archlinux/g' /etc/os-release | |
echo 'SUPPORT_URL="https://bbs.archlinux.org/"' >> /etc/os-release | |
echo 'BUG_REPORT_URL="https://bugs.archlinux.org/"' >> /etc/os-release | |
cp /etc/os-release /usr/lib/os-release | |
head -n -2 /etc/lightdm/lightdm-gtk-greeter.conf > lightdm-gtk-greeter.conf | |
mv lightdm-gtk-greeter.conf /etc/lightdm/ | |
rm -Rf /usr/share/pixmaps/anarchy-icon.png | |
rm -Rf /usr/share/backgrounds/anarchy/Anarchy-Login.jpeg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I know this is old but is it that hard to enter bash smh just run the bash command chmod +x de-anarchy.sh and then ./de-anarchy.sh