Skip to content

Commit

Permalink
install.sh: make gpu-policy executable
Browse files Browse the repository at this point in the history
Intended to fix #335
  • Loading branch information
thomas committed Aug 14, 2023
1 parent fa72478 commit aa3baff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@ function postinstall()
update-desktop-database "$DESTDIR$desktopdir"
register_installed_file "$DESTDIR$desktopdir/mimeinfo.cache"

if [ -e "$DESTDIR$sysconfdir/mxq/gpu-policy" ]; then
chmod -c +x "$DESTDIR$sysconfdir/mxq/gpu-policy"
else
echo "Note: "$DESTDIR$sysconfdir/mxq/gpu-policy" does not exist, fix $0 ."
fi

(cd "$DESTDIR$usrlocal_prefix/package/admin" && ./makebin)

pkg="mxtools-0.0-0";
Expand Down

0 comments on commit aa3baff

Please sign in to comment.