diff options
| author | Keith Packard <keithp@keithp.com> | 2014-02-16 15:17:40 -0800 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2014-02-16 15:52:22 -0800 |
| commit | 948a614a62754fd4fffd9b84ad83fd444e4f0437 (patch) | |
| tree | c7b62e85cd164365758ddd2b5d97b31824d86167 /altosui/linux-install.sh | |
| parent | 066a01ad0b4e73fdb47b43a42c1d0b7fae81a180 (diff) | |
Move .desktop and icon management out of debian dir
This constructs a .desktop file from a template and installs it, along
with suitable .svg icons, during the normal build process
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/linux-install.sh')
| -rw-r--r-- | altosui/linux-install.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/altosui/linux-install.sh b/altosui/linux-install.sh index c5101eb4..d7ec9517 100644 --- a/altosui/linux-install.sh +++ b/altosui/linux-install.sh @@ -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__ |
