Autostart script: Corrected Folder and Message
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
#
|
||||
#Copy current Version of Autostart-Entry
|
||||
rm -f "${HOME}/.config/autostart/logon_script.sh.desktop"
|
||||
cp "${SCRIPTPATH}/logon_script.sh.desktop" "${HOME}/.config/autostart"
|
||||
cp "logon_script.sh.desktop" "${HOME}/.config/autostart"
|
||||
if [ $? -ne 0 ]; then
|
||||
elog_add "Failed to setup autostart- entry. Check your installation of these scripts."
|
||||
echo "Failed to setup autostart- entry. Check your installation of these scripts."
|
||||
echo "Press any key to continue" && read -n 1 -s -r && exit 1
|
||||
fi
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user