Move .desktop and icon management out of debian dir
[fw/altos] / altosui / linux-install.sh
index c5101eb4136e1bb35fc10fc670c47db90c40bc94..d7ec9517316e23520dde9e5efc04d1330f713a1e 100644 (file)
@@ -144,7 +144,7 @@ BIN="$target_abs"/AltOS
 desktop="$target"/AltOS/altos.desktop
 
 rm -f "$desktop"
-sed "s;%BIN%;$BIN;" "$target"/AltOS/altos.desktop.in > "$desktop"
+sed -e "s;%bindir%;$BIN;" -e "s;%icondir%;$BIN;" "$target"/AltOS/altos.desktop.in > "$desktop"
 
 #
 # Figure out where to install the .desktop file. If we can, write it
@@ -185,6 +185,12 @@ case "$?" in
     ;;
 esac
 
+#
+# Install icon to desktop if desired
+#
+
+
+
 finish 0
 
 __ARCHIVE_BELOW__