From: Samir Benmendil Date: Thu, 31 Jan 2013 18:02:44 +0000 (+0100) Subject: create link for icons too X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/038dc6165c147a314bcb7f82021b7a70db02bbaa?ds=sidebyside create link for icons too --- diff --git a/bin/launch-bundle b/bin/launch-bundle index 156365f..81b3b3b 100755 --- a/bin/launch-bundle +++ b/bin/launch-bundle @@ -4,4 +4,10 @@ for TARGET in $HOME/.cinstall/launchers/${0##*/}-[0-9]* do USE_TARGET=$TARGET done -[ -x "$USE_TARGET" ] && $USE_TARGET "${@}" || echo "Could not find ${0##*/} bundle" +if [[ -x "$USE_TARGET" ]]; then + $USE_TARGET "${@}" + arch=$(uname -m) + ln -sf $HOME/.cinstall/icons/${USE_TARGET##*/}-${arch}.png $HOME/.cinstall/icons/${0##*/}.png +else + echo "Could not find ${0##*/} bundle" +fi