File: Uninstall.sh

package info (click to toggle)
mp3diags 1.5.01-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 21,120 kB
  • sloc: cpp: 34,487; sh: 316; makefile: 101; xml: 97; python: 14
file content (21 lines) | stat: -rwxr-xr-x 651 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
#

#ttt1 only works for one user, but it's likely that this is the case when it's most needed

BranchSlash=`cat branch.txt`
BranchDash=`echo "$BranchSlash" | sed 's#/#-#'`
exe=MP3Diags$BranchDash

/usr/local/bin/$exe -u
sudo rm /usr/local/bin/$exe
rm ~/.config/Ciobi/$exe.conf

#transl=/usr/local/share/mp3diags"$BranchDash"/translations
share=/usr/local/share/mp3diags"$BranchDash"
sudo rm -rf "$share"

echo
echo "If other users started MP3 Diags as well, they will have to remove their configuration file manually (it\'s ~/.config/Ciobi/Mp3Diags.conf)"
echo "Sessions files (.ini and associated .dat) can only be removed manually"
echo