appmenus: preserve file header
This commit is contained in:
parent
fe2f66dfc7
commit
6be747cf6a
@ -8,7 +8,8 @@ if ! grep -q ^Name $SRC ; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sed -n -e "s/^\(Name.*\)=\(.*\)/\1=%VMNAME%: \2/p" \
|
sed -n -e "/^\[Desktop Entry\]$/p" \
|
||||||
|
-e "s/^\(Name.*\)=\(.*\)/\1=%VMNAME%: \2/p" \
|
||||||
-e "s/^\(GenericName.*\)=\(.*\)/\1=%VMNAME%: \2/p" \
|
-e "s/^\(GenericName.*\)=\(.*\)/\1=%VMNAME%: \2/p" \
|
||||||
-e "s/^Exec=\(.*\)/Exec=qvm-run -q --tray -a %VMNAME% \'\1\'/p" \
|
-e "s/^Exec=\(.*\)/Exec=qvm-run -q --tray -a %VMNAME% \'\1\'/p" \
|
||||||
-e "/^Comment.*=/p" \
|
-e "/^Comment.*=/p" \
|
||||||
|
Loading…
Reference in New Issue
Block a user