diff options
Diffstat (limited to 'multimedia/projectx/files/project-x.sh.in')
-rw-r--r-- | multimedia/projectx/files/project-x.sh.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/multimedia/projectx/files/project-x.sh.in b/multimedia/projectx/files/project-x.sh.in index 8ef402d61b5d..9058fb3d98ce 100644 --- a/multimedia/projectx/files/project-x.sh.in +++ b/multimedia/projectx/files/project-x.sh.in @@ -6,7 +6,10 @@ case "$#" in 0) mkdir -p "${HOME}/.projectx" cd "${HOME}/.projectx" - ln -sf %%PREFIX%%/share/projectx/htmls . + ln -sf %%DATADIR%%/*.txt %%DATADIR%%/htmls . + if ! grep '^# ProjectX 0.90.2.00' X.ini >/dev/null; then + rm -f X.ini + fi ;; esac |