summaryrefslogtreecommitdiff
path: root/support/gtex-letter/uninstall
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/gtex-letter/uninstall
Initial commit
Diffstat (limited to 'support/gtex-letter/uninstall')
-rw-r--r--support/gtex-letter/uninstall36
1 files changed, 36 insertions, 0 deletions
diff --git a/support/gtex-letter/uninstall b/support/gtex-letter/uninstall
new file mode 100644
index 0000000000..18cd94f7b9
--- /dev/null
+++ b/support/gtex-letter/uninstall
@@ -0,0 +1,36 @@
+#!/usr/bin/bash
+#
+#uninstall gtex-letter
+#must be root to run
+
+PREFIX=/opt/gnome/bin/
+DIR=gtex-letter-prg
+PRG=gtex-letter
+RCFILE=.gtex-letterrc
+LC_PATH=/usr/share/locale/de/LC_MESSAGES
+DOC_PATH=/opt/gnome/doc/gtex-letter
+
+if [ -d $PREFIX$DIR ]
+then
+ rm -r $PREFIX$DIR && echo "Directory $PREFIX$DIR deleted."
+fi
+
+if [ -h $PREFIX$PRG ]
+then
+ rm -r $PREFIX$PRG && echo "Link $PREFIX$PRG deleted."
+fi
+
+if [ -d $DOC_PATH ]
+then
+ rm -r $DOC_PATH && echo "Documentation deleted."
+fi
+
+if [ -e $LC_PATH/gtex-letter.mo ]
+then
+ rm -r $LC_PATH/gtex-letter.mo && echo "Translation-File deleted."
+fi
+
+
+
+
+