Skip to content

Commit

Permalink
fix(setup.sh): Use absolute paths for internal scripts (#141)
Browse files Browse the repository at this point in the history
*Might* help with #140 since the error log provided mentioned a $PATH
issue, but I couldn't reproduce the issue on my system so I can't
verify. Even so, it's better to use the absolute path here just in case,
and doesn't hurt to do so.
  • Loading branch information
zelikos authored Jan 2, 2025
2 parents c90a3f4 + a8cd464 commit 3bf8a08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ run_davinci_setup () {
if [[ $? -eq 0 ]]; then
# Run setup-davinci
extracted_installer="squashfs-root/AppRun"
$container_run_prefix setup-davinci $extracted_installer $container_type
$container_run_prefix /usr/bin/setup-davinci $extracted_installer $container_type
rm -rf squashfs-root/
else
echo "${installer} could not be extracted."
Expand Down Expand Up @@ -112,7 +112,7 @@ else
fi

if [[ $1 == "remove" ]]; then
$container_run_prefix add-davinci-launcher remove
$container_run_prefix /usr/bin/add-davinci-launcher remove

echo "Removing DaVinci Resolve and davincibox..."
remove_davincibox_container
Expand Down

0 comments on commit 3bf8a08

Please sign in to comment.