Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1f74b9bcfb | ||
|
|
981eb11b6d | ||
|
|
b33494d399 | ||
|
|
11def894e2 |
No files matched your search
@@ -152,6 +152,7 @@ jobs:
|
|||||||
[Flatpak Repo]
|
[Flatpak Repo]
|
||||||
Title=HeiniRemote Agent
|
Title=HeiniRemote Agent
|
||||||
Url=$BASE
|
Url=$BASE
|
||||||
|
RuntimeRepo=https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||||
Homepage=https://pc-heini.de/
|
Homepage=https://pc-heini.de/
|
||||||
Comment=HeiniRemote remote maintenance agent as a Flatpak
|
Comment=HeiniRemote remote maintenance agent as a Flatpak
|
||||||
Description=Install the HeiniRemote agent on any Linux distribution via Flatpak.
|
Description=Install the HeiniRemote agent on any Linux distribution via Flatpak.
|
||||||
|
|||||||
@@ -4,6 +4,9 @@ Title=HeiniRemote Agent
|
|||||||
# so the canonical copy to use is:
|
# so the canonical copy to use is:
|
||||||
# https://git.pc-heini.de/pc-heini/HeiniRemote-AgentFlatpak/raw/branch/pages/heiniremote.flatpakrepo
|
# https://git.pc-heini.de/pc-heini/HeiniRemote-AgentFlatpak/raw/branch/pages/heiniremote.flatpakrepo
|
||||||
Url=https://git.pc-heini.de/pc-heini/HeiniRemote-AgentFlatpak/raw/branch/pages
|
Url=https://git.pc-heini.de/pc-heini/HeiniRemote-AgentFlatpak/raw/branch/pages
|
||||||
|
# Lets `flatpak install` pull the freedesktop runtime on a system that has no
|
||||||
|
# Flathub remote yet (e.g. a fresh Ubuntu after `apt install flatpak`).
|
||||||
|
RuntimeRepo=https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||||
Homepage=https://pc-heini.de/
|
Homepage=https://pc-heini.de/
|
||||||
Comment=HeiniRemote remote maintenance agent as a Flatpak
|
Comment=HeiniRemote remote maintenance agent as a Flatpak
|
||||||
Description=Install the HeiniRemote agent on any Linux distribution via Flatpak.
|
Description=Install the HeiniRemote agent on any Linux distribution via Flatpak.
|
||||||
+4
-1
@@ -15,7 +15,10 @@
|
|||||||
# controlling terminal, tools that open /dev/tty break). script(1) allocates a
|
# controlling terminal, tools that open /dev/tty break). script(1) allocates a
|
||||||
# second, host-side PTY for the shell and relays through the forwarded one;
|
# second, host-side PTY for the shell and relays through the forwarded one;
|
||||||
# util-linux >= 2.35 also passes window-size changes along.
|
# util-linux >= 2.35 also passes window-size changes along.
|
||||||
exec flatpak-spawn --host /bin/sh -c '
|
# flatpak-spawn --host does not forward the caller's environment: without
|
||||||
|
# --env the host shell starts with no TERM at all (login scripts then fail
|
||||||
|
# in tput and in integer tests on the empty LINES/COLUMNS).
|
||||||
|
exec flatpak-spawn --host --env=TERM="${TERM:-xterm-256color}" --env=COLORTERM=truecolor /bin/sh -c '
|
||||||
shell="$(getent passwd "$(id -un)" | cut -d: -f7)"
|
shell="$(getent passwd "$(id -un)" | cut -d: -f7)"
|
||||||
[ -x "$shell" ] || shell=/bin/sh
|
[ -x "$shell" ] || shell=/bin/sh
|
||||||
export SHELL="$shell"
|
export SHELL="$shell"
|
||||||
|
|||||||
Reference in new issue
Block a user