diff options
author | XZS | 2017-03-14 23:22:53 +0100 |
---|---|---|
committer | XZS | 2017-03-14 23:44:11 +0100 |
commit | e3e9d250a5149ae34ab38be47fb1fc73881a3046 (patch) | |
tree | 623f93e93441a58d973f8cf447126f9caef2f470 /starter.sh | |
parent | 63e61824e004c0acdd4243ce96f72d8b560e44d3 (diff) | |
download | aur-e3e9d250a5149ae34ab38be47fb1fc73881a3046.tar.gz |
include dedicated starter script
As the desktop file, this could be generated from a template.
The old script did never work correctly, anyway, and it did for two
reasons: When the CARCH modification was still in the prepare function,
packaging would configure it to search for a executable ending in .i686
while unity uses .x86 instead. Additionally, the data directory is only
found in the current working directory, so a cd is necessary.
Diffstat (limited to 'starter.sh')
-rw-r--r-- | starter.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/starter.sh b/starter.sh new file mode 100644 index 000000000000..b0699bf31bf9 --- /dev/null +++ b/starter.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +cd "/opt/$pkgname" +exec "./$longname.$CARCH" |