Skip to content

install.sh: make gpu-policy executable #341

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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