Skip to content

Commit

Permalink
Fix update-desktop-database when DESTDIR is specified
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed Nov 17, 2020
1 parent e986c99 commit f181ca3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ function install_symlink()

function postinstall()
{
update-desktop-database ${desktopdir}
register_installed_file "$desktopdir/mimeinfo.cache"
update-desktop-database "$DESTDIR$desktopdir"
register_installed_file "$DESTDIR$desktopdir/mimeinfo.cache"

pkg="mxtools-0.0-0";
mkdir -p "$DESTDIR$usr_prefix/share/bee/$pkg"
Expand Down

0 comments on commit f181ca3

Please sign in to comment.