#!/bin/bash
#----------------------------------------------------------------
# Description: Linux Lite LLVER patch
# About: For Linux Lite 3.2 only
# Licence: GPLv2 Sharing is Caring
# Author: Jerry Bezencon
# Date: 11th April, 2017
# Website: https://www.linuxliteos.com
#----------------------------------------------------------------

clear
echo "------------------------------------------------"
echo "Linux Lite LLVER Bug Patch for Lite Upgrade"
echo "------------------------------------------------"
echo " "
echo "You must be Administrator to run the following patch."
echo "Close this window if you are not the Administrator."
echo " "

sudo rm -rf /etc/llver
sleep 2
if [ ! -f /etc/llver ]; then

clear

sudo touch /etc/llver
echo 'Linux Lite 3.2' | sudo tee /etc/llver > /dev/null
echo " "
echo "Lite Upgrade LLVER bug successfully patched."
echo " "
echo "Run Menu, Settings, Lite Upgrade to complete the Upgrade process."
echo " "

	else
echo "File llver already exists, exiting patch."

fi