Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix %%PBI_APPDIR%% expansion on 10

  • Loading branch information...
commit 0a4a3ac7453e6c7d6076eb9d94f6d25bd193ce7f 1 parent ac9703b
@kmoore134 kmoore134 authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 src-sh/pbi-manager10/pbi-manager
View
6 src-sh/pbi-manager10/pbi-manager
@@ -3969,7 +3969,7 @@ mk_xdg_desktop_script() {
# Copy over the .desktop file, modifying any variables within
cat "${i}" \
| sed "s|%%PBI_EXEDIR%%|$PBI_PROGDIRPATH/$PBI_FAKEBIN_DIR|g" \
- | sed "s|%%PBI_APPDIR%%|$PBI_PROGDIRPATH|g" \
+ | sed "s|%%PBI_APPDIR%%|${PBI_PROGDIRPATH}/local|g" \
> "${dir}/PBI-${i}"
# Set the correct permissions on the desktop file
@@ -4013,7 +4013,7 @@ mk_xdg_menu_script() {
# Copy the desktop file, changing any included vars
cat "${i}" \
| sed "s|%%PBI_EXEDIR%%|$PBI_PROGDIRPATH/$PBI_FAKEBIN_DIR|g" \
- | sed "s|%%PBI_APPDIR%%|$PBI_PROGDIRPATH|g" \
+ | sed "s|%%PBI_APPDIR%%|${PBI_PROGDIRPATH}/local|g" \
> "${dir}/PBI-${i}"
# Set the correct permissions on the menu file
@@ -4027,7 +4027,7 @@ mk_xdg_menu_script() {
if [ -e "${dirfile}.directory" ] ; then
cat "${dirfile}.directory" \
| sed "s|%%PBI_EXEDIR%%|$PBI_PROGDIRPATH/$PBI_FAKEBIN_DIR|g" \
- | sed "s|%%PBI_APPDIR%%|$PBI_PROGDIRPATH|g" \
+ | sed "s|%%PBI_APPDIR%%|${PBI_PROGDIRPATH}/local|g" \
> "${dir}/PBI-${dirfile}.directory"
#cp "${dirfile}.directory" "${dir}/PBI-${dirfile}.directory"
ifd="$PBI_PROGDIRPATH/${PBI_APPMENU_DIR}/PBI-${dirfile}.directory "

0 comments on commit 0a4a3ac

Please sign in to comment.
Something went wrong with that request. Please try again.