mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 10:20:12 +01:00
updated uninstall.sh
This commit is contained in:
parent
ee04881461
commit
a15c816159
@ -51,7 +51,7 @@ remove_packages() {
|
|||||||
# Check if the package is installed using dpkg (apt's underlying tool)
|
# Check if the package is installed using dpkg (apt's underlying tool)
|
||||||
if dpkg -l | grep -q "^ii $package "; then
|
if dpkg -l | grep -q "^ii $package "; then
|
||||||
echo "Removing package: $package"
|
echo "Removing package: $package"
|
||||||
if ! sudo apt remove --purge -y "$package"; then
|
if ! sudo apt remove -y "$package"; then
|
||||||
echo "$ERROR Failed to remove package: $package"
|
echo "$ERROR Failed to remove package: $package"
|
||||||
else
|
else
|
||||||
echo "$OK Successfully removed package: $package"
|
echo "$OK Successfully removed package: $package"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user