mirror of
https://github.com/elegaanz/mobydick
synced 2025-02-17 03:40:46 +01:00
- build.sh: will build for release - ./install.sh: - default $PREFIX set to /usr/local to avoid installing in / - use install over cp - ./uninstall.sh: - remove installed files (leave directory structure though) - default $PREFIX set to /usr/local
14 lines
334 B
Bash
Executable File
14 lines
334 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if [ -z "$PREFIX" ]; then
|
|
PREFIX=/usr/local
|
|
fi
|
|
|
|
sudo rm -v $PREFIX/bin/xyz.gelez.mobydick
|
|
sudo rm -v $PREFIX/share/appdata/$(ls *.appdata.xml)
|
|
sudo rm -v $PREFIX/share/applications/$(ls *.desktop)
|
|
|
|
for s in "16" "24" "32" "48" "64" "128"; do
|
|
sudo rm -v $PREFIX/share/icons/hicolor/${s}x${s}/mobydick.svg
|
|
done
|