#!/bin/sh

# A script to uninstall SoftMaker Office.

clear
echo ""
echo "This script will remove SoftMaker Office."
echo ""
echo -n "Do you want to continue (y/n)? [n] " 
read inp
if [ "$inp" != "y" ]
then
  echo "Installation aborted." 
  echo "Press Return to close."
  read inp
  exit
fi

if [ "$(whoami)" != 'root' ]; then
  echo "You need to have root permissions to uninstall SoftMaker FreeOffice."
  echo "Please log in as root or use sudo for this script."
  echo "Press Return to close."
  read inp
  exit
fi


