Closed rtmor closed 1 year ago
Started test build 37264
Build 37264 successful To test this build, install it from the testing repository:
flatpak install --user https://dl.flathub.org/build-repo/19908/com.jetbrains.DataGrip.flatpakref
Great! Thanks for finding that inconsistency :bowing_man:
I'll integrate your changes on the other branch that I have, if you don't mind.
Yes, thank you! I apologize for creating a new PR -- wasn't able to push to the existing PR.
It does look like the new build failed when - tee <idea.properties --append ${FLATPAK_DEST}/bin/idea.properties
was changed to - tee <idea.properties --append datagrip/bin/idea.properties
. Perhaps the append option requires an absolute path? :confused:
I think what you had was right, but as far as I know, FLATPAK_DEST
resolves to /app
. I'll have to check when DataGrip
is installed that it's actually copying the file to the correct location.
Started test build 37272
Build 37272 successful To test this build, install it from the testing repository:
flatpak install --user https://dl.flathub.org/build-repo/19916/com.jetbrains.DataGrip.flatpakref
I think what you had was right, but as far as I know,
FLATPAK_DEST
resolves to/app
. I'll have to check whenDataGrip
is installed that it's actually copying the file to the correct location.
Yeah, you're right. It's resolving to /app
. I went ahead and just expanded it in my PR and got a good build.
- tee < idea.properties --append /app/bin/idea.properties
Yeah, you're right. It's resolving to
/app
. I went ahead and just expanded it in my PR and got a good build.- tee < idea.properties --append /app/bin/idea.properties
I think the resultant file will only contain what's in idea.properties
because there shouldn't be anything under /app/bin/idea.properties
— and what's desired is to merge idea.properties
with the other idea.properties
that's being released with DataDrip
.
Doing it this way, you still don't have access to that file, but if I place the tee
command inside apply_extra.sh
, then I don't have access to the idea.properties
I'm trying to merge.
I see. You're absolutely right - it is overwriting instead of appending. I'll take another look at it tonight.
Thanks :smiley:
@x80486
I encountered an error while trying to install both the build and from source:
I was able to get around it by moving the idea.properties definition to the manifest. Maybe you have a more elegant solution or could explain why it didn't install correctly the first time.