keepassx2: fix build

This commit is contained in:
Enno Boland 2015-11-24 08:14:22 +01:00
parent 983a64a9a9
commit deeef0f3c2
1 changed files with 5 additions and 1 deletions

View File

@ -21,6 +21,10 @@ pre_configure() {
}
post_install() {
sed -i $DESTDIR/usr/share/applications/keepassx2.desktop \
sed -i $DESTDIR/usr/share/applications/keepassx.desktop \
-e "s/^Exec=.*/Exec=keepassx2/"
mv $DESTDIR/usr/share/applications/keepassx.desktop \
$DESTDIR/usr/share/applications/keepassx2.desktop
mv $DESTDIR/usr/share/mime/packages/keepassx.xml \
$DESTDIR/usr/share/mime/packages/keepassx.xml
}