Skip to content

Commit

Permalink
Fix software update mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
mayankk2308 committed Jun 30, 2018
1 parent b6dc9c9 commit 903623f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion set-eGPU.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ perform_software_update() {
curl -L -s "${LATEST_RELEASE_DWLD}" > "${TMP_SCRIPT}"
echo -e "Download complete.\n${BOLD}Updating...${NORMAL}"
chmod 700 "${TMP_SCRIPT}" && chmod +x "${TMP_SCRIPT}"
#rm "${SCRIPT}" && mv "${TMP_SCRIPT}" "${SCRIPT}"
rm "${SCRIPT}" && mv "${TMP_SCRIPT}" "${SCRIPT}"
chown "${SUDO_USER}" "${SCRIPT}"
echo -e "Update complete. ${BOLD}Relaunching...${NORMAL}"
su "${SUDO_USER}" "${SCRIPT}"
Expand Down

0 comments on commit 903623f

Please sign in to comment.