From 74cf5f1a165282c7e0730e719257f5dc99fcfd89 Mon Sep 17 00:00:00 2001 From: chrys87 Date: Thu, 2 Feb 2017 10:10:27 +0100 Subject: [PATCH] Create deinstall.sh --- deinstall.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 deinstall.sh diff --git a/deinstall.sh b/deinstall.sh new file mode 100644 index 00000000..f722923a --- /dev/null +++ b/deinstall.sh @@ -0,0 +1,16 @@ +#!/bin/bash +#Basic install script for fenrir. +cat << EOF +fenrir is going to remove. +every script and settings are lost. +EOF +read -p "This will remove fenrir and settings. Press ctrl+c to cancil, or enter to continue." continue +rm -r /opt/fenrir +rm -r /usr/share/fenrir +rm -r /etc/fenrir +rm -r /usr/share/sounds/fenrir + +unlink /usr/bin/fenrir +cat << EOF +fenrir is removed +EOF