123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- #!/bin/bash
- privilege_escalation="sudo "
- dir_path=$HOME/.cache/xoronos
- if [ -d "$dir_path" ]; then
- cmd="rm -r $dir_path"
- echo "$cmd" ; eval "$cmd"
- fi
- dir_path=$HOME/.local/xoronos
- if [ -d "$dir_path" ]; then
- cmd="rm -r $dir_path"
- echo "$cmd" ; eval "$cmd"
- fi
- file_path=/usr/local/bin/xrntranslate-cli
- if [ -e "$file_path" ]; then
- cmd="$privilege_escalation rm $file_path"
- echo "$cmd" ; eval "$cmd"
- fi
- file_path=/usr/local/bin/xrnserver-cli
- if [ -e "$file_path" ]; then
- cmd="$privilege_escalation rm $file_path"
- echo "$cmd" ; eval "$cmd"
- fi
- file_path=/usr/local/bin/xrnarchive-cli
- if [ -e "$file_path" ]; then
- cmd="$privilege_escalation rm $file_path"
- echo "$cmd" ; eval "$cmd"
- fi
- file_path=/usr/local/bin/xrnlib-cli
- if [ -e "$file_path" ]; then
- cmd="$privilege_escalation rm $file_path"
- echo "$cmd" ; eval "$cmd"
- fi
- file_path=/usr/local/bin/xrnlib-128-cli
- if [ -e "$file_path" ]; then
- cmd="$privilege_escalation rm $file_path"
- echo "$cmd" ; eval "$cmd"
- fi
- file_path=/usr/local/bin/xrnlib-256-cli
- if [ -e "$file_path" ]; then
- cmd="$privilege_escalation rm $file_path"
- echo "$cmd" ; eval "$cmd"
- fi
- dir_path=/usr/lib/xoronos
- if [ -d "$dir_path" ]; then
- cmd="$privilege_escalation rm -r $dir_path"
- echo "$cmd" ; eval "$cmd"
- fi
- file_path=/etc/bash_completion.d/xrnserver-cli-autocomplete.sh
- if [ -e "$file_path" ]; then
- cmd="$privilege_escalation rm $file_path"
- echo "$cmd" ; eval "$cmd"
- fi
- file_path=/etc/bash_completion.d/xrnarchive-cli-autocomplete.sh
- if [ -e "$file_path" ]; then
- cmd="$privilege_escalation rm $file_path"
- echo "$cmd" ; eval "$cmd"
- fi
- file_path=/etc/bash_completion.d/xrnlib-cli-autocomplete.sh
- if [ -e "$file_path" ]; then
- cmd="$privilege_escalation rm $file_path"
- echo "$cmd" ; eval "$cmd"
- fi
- file_path=/etc/bash_completion.d/xrnconv-cli-autocomplete.sh
- if [ -e "$file_path" ]; then
- cmd="$privilege_escalation rm $file_path"
- echo "$cmd" ; eval "$cmd"
- fi
- file_path=/usr/share/pandoc/data/templates/xoronos.tex
- if [ -e "$file_path" ] ; then
- cmd="$privilege_escalation rm $file_path"
- echo "$cmd" ; eval "$cmd"
- fi
- file_path=/usr/lib/xoronos/py/splitjoin.cpython*
- if [ -e $file_path ] ; then
- cmd="$privilege_escalation rm $file_path "
- echo "$cmd" ; eval "$cmd"
- fi
- file_path=/usr/local/bin/xrnconv-cli
- if [ -e "$file_path" ]; then
- cmd="$privilege_escalation rm $file_path "
- echo "$cmd" ; eval "$cmd"
- fi
- file_path=/usr/lib/xoronos/py/xrntools_description.json
- if [ -e "$file_path" ]; then
- cmd="$privilege_escalation rm $file_path "
- echo "$cmd" ; eval "$cmd"
- fi
|