blob: 32d4f71b5c370dc7560adc64234901395bfbefb6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/usr/bin/env bash
# Remove /home/deck/fgmod directory if it exists
if [[ -d "/home/deck/fgmod" ]]; then
rm -rf "/home/deck/fgmod"
fi
# Remove specific files from ~/Downloads if they exist
downloads_dir="$HOME/Downloads"
files_to_remove=("prepare.sh" "fgmod.sh" "fgmod-uninstaller.sh")
for file in "${files_to_remove[@]}"; do
if [[ -f "$downloads_dir/$file" ]]; then
rm "$downloads_dir/$file"
fi
done
echo "FGmod removed"
|