04-03-2015, 08:10 PM
You must manualy make a directory with superuser privileges
Press Ctrl+Alt+T to open Terminal
Then edit lite-upgrade-series2
Type in:
Comment lines in a script with a hash # at the begining to prevent execution of a command that creates a directory
Save it and close the text editor.
Run lite-upgrade-series2
Cheers
Press Ctrl+Alt+T to open Terminal
Code:
sudo mkdir -p /etc/skel/.llupgradebackup/2.4
Type in:
Code:
gksudo leafpad /usr/bin/lite-upgrade-series2
Code:
# Set functions for non-root execution
# The ones that need root go to the other file: lite-upgrade-system-series2
MKDIRBUPS() {
echo "#Creating back up directories..."
sleep 2
mkdir -p /home/$USER/.llupgradebackup/2.4
if [ "${PIPESTATUS[0]}" -ne "0" ]; then
echo "#Error"
sleep 2
zenity --error \
--title="Error" --text="There was an error while\nCreating back up directories!\nUpgrade canceled."
exit 1
fi
# This line has a hash at the begining and will not execute
# mkdir -p /etc/skel/.llupgradebackup/2.4
# if [ "${PIPESTATUS[0]}" -ne "0" ]; then
# echo "#Error"
# sleep 2
# zenity --error \
# --title="Error" --text="There was an error while\nCreating back up directories!\nUpgrade canceled."
# exit 1
# fi
}
Run lite-upgrade-series2
Cheers
![Smile Smile](https://www.freecinema2022.gq/forums/images/smilies/smile.png)