@@ -56,17 +56,18 @@ in
56 # .desktop
56 # .desktop
57 desktop=$(find ${target}/share/applications -name "*.desktop" | head -n1)
57 desktop=$(find ${target}/share/applications -name "*.desktop" | head -n1)
58 if ! [ -z "$desktop" ]; then
58 if ! [ -z "$desktop" ]; then
59− ln -s .$desktop
59+ cp .$desktop .
63 if [ -d ${target}/share/icons ]; then
64 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)
65 if ! [ -z "$icon" ]; then
66 if ! [ -z "$icon" ]; then
66 ln -s .$icon
67 ln -s .$icon
67 ln -s .$icon .DirIcon
68 ln -s .$icon .DirIcon
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)
70 if ! [ -z "$icon" ]; then
71 if ! [ -z "$icon" ]; then
71 ln -s .$icon
72 ln -s .$icon
72 ln -s .$icon .DirIcon
73 ln -s .$icon .DirIcon