uninstall scripts
This commit is contained in:
parent
22d12fd902
commit
024b3311e0
13
uninstall/apache2
Executable file
13
uninstall/apache2
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
##makedesc: Uninstall apache2
|
||||||
|
source `dirname $0`/../helpers || exit 255
|
||||||
|
|
||||||
|
title
|
||||||
|
|
||||||
|
sudo apt remove -y --autoremove apache2
|
||||||
|
|
||||||
|
[ $? = 0 ] && {
|
||||||
|
echo
|
||||||
|
success "apache2 uninstalled!"
|
||||||
|
echo
|
||||||
|
}
|
19
uninstall/grub-customizer
Executable file
19
uninstall/grub-customizer
Executable file
@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
##makedesc: Uninstall grub-customizer with ppa
|
||||||
|
source `dirname $0`/../helpers || exit 255
|
||||||
|
|
||||||
|
title
|
||||||
|
|
||||||
|
source_file="/etc/apt/sources.list.d/$(ls -1 /etc/apt/sources.list.d/ | grep danielrichter2007)"
|
||||||
|
|
||||||
|
sudo apt remove -y --autoremove grub-customizer && \
|
||||||
|
[ -f "$source_file" ] && {
|
||||||
|
sudo rm "$source_file" && \
|
||||||
|
sudo apt update
|
||||||
|
}
|
||||||
|
|
||||||
|
[ $? = 0 ] && {
|
||||||
|
echo
|
||||||
|
success "grub-customizer uninstalled!"
|
||||||
|
echo
|
||||||
|
}
|
@ -9,10 +9,10 @@ echo
|
|||||||
|
|
||||||
set -x
|
set -x
|
||||||
rm -rf \
|
rm -rf \
|
||||||
"${HOME}/.local/bin/lite-xl" \
|
"$HOME/.local/bin/lite-xl" \
|
||||||
"${HOME}/.local/share/applications/org.lite_xl.lite_xl.desktop" \
|
"$HOME/.local/share/applications/org.lite_xl.lite_xl.desktop" \
|
||||||
"${HOME}/.local/share/lite-xl" \
|
"$HOME/.local/share/lite-xl" \
|
||||||
"${HOME}/.config/lite-xl"
|
"$HOME/.config/lite-xl"
|
||||||
|
|
||||||
sudo update-desktop-database && \
|
sudo update-desktop-database && \
|
||||||
xdg-desktop-menu forceupdate
|
xdg-desktop-menu forceupdate
|
||||||
|
Loading…
Reference in New Issue
Block a user