summarylogtreecommitdiffstats
path: root/setup.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'setup.sh.in')
-rw-r--r--setup.sh.in17
1 files changed, 14 insertions, 3 deletions
diff --git a/setup.sh.in b/setup.sh.in
index 909fb2c3a38c..63c203f9b2d0 100644
--- a/setup.sh.in
+++ b/setup.sh.in
@@ -8,7 +8,7 @@ bootstrap_install() {
install -dv "$libdir"
install -d "$prefix/bin/"
install -d "$prefix/share/applications/"
- for eta in $(ls ./eve-transl${qtver}-??.tar.gz) ;do
+ for eta in ./eve-transl${qtver}-??.tar.gz ;do
install -m 0644 "$eta" "$libdir"
done
install -m 0644 "./evesetup.shlib" "$libdir"
@@ -31,6 +31,12 @@ bootstrap_install() {
for icons in $(find . -type f -name '*.png') ;do
install -D -m 0644 "$icons" "$prefix/share/${icons#*/}"
done
+ if [ -x $(which gtk-update-icon-cache) ] ;then
+ if [ -f "${prefix}/share/icons/hicolor/icon-theme.cache" ] ;then
+ gtk-update-icon-cache -t -f "${prefix}/share/icons/hicolor" 2>/dev/null
+ chmod 0644 "${prefix}/share/icons/hicolor/icon-theme.cache"
+ fi
+ fi
}
bootstrap_remove() {
@@ -146,7 +152,12 @@ else
build_lib && \
printf "\nInstalling...\n\n"
bootstrap_install && \
- printf "\nYou can now start EVE Online Launcher and his " && \
- echo "Tools from your Application menu."
+ printf "\nYou can now start EVE Online Launcher and his Tools:\n\n"
+ for cmd in *.desktop ;do
+ oexec=$(grep Exec= $cmd | cut -d= -f2); oexec=${oexec##*/}
+ [ ! "$oexec" = "evelauncher.sh" ] && \
+ printf " $oexec\t- $(grep Comment= $cmd | cut -d= -f2)\n"
+ done
+ printf "\n evelauncher.sh\t- EVE Online Launcher\n"
fi
printf "\nDone.\n\n"