on master help sign in
Fix linking issues
commitffb2de51e44dcf9b773da925c52a43aff04ab839 authorMatthew Bauer <mjbauer95@gmail.com> dateMon 8 May 2017, 00:02 (9 years ago) parent6b6f897
1 file changed+4−3
appdir.nix+4−3
appdir.nix+4−3
@@ -56,17 +56,18 @@ in
5656 # .desktop
5757 desktop=$(find ${target}/share/applications -name "*.desktop" | head -n1)
5858 if ! [ -z "$desktop" ]; then
59− ln -s .$desktop
59+ cp .$desktop .
6060 fi
6161
62+
6263 # icons
6364 if [ -d ${target}/share/icons ]; then
64− icon=$(find ${target}/share/icons -name "${name}.png" -or -name "*.png" | head -n1)
65+ icon=$(find ${target}/share/icons -name "${name}.png" | head -n1)
6566 if ! [ -z "$icon" ]; then
6667 ln -s .$icon
6768 ln -s .$icon .DirIcon
6869 else
69− icon=$(find ${target}/share/icons -name "${name}.svg" -or -name "*.svg" | head -n1)
70+ icon=$(find ${target}/share/icons -name "${name}.svg" | head -n1)
7071 if ! [ -z "$icon" ]; then
7172 ln -s .$icon
7273 ln -s .$icon .DirIcon