You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add an install-from-source target to the 'Makefile' to allow installation on
any Unix-based system, rather than only those for which packages are built
(i.e., Darwin and Debian). This is done by repurposing the 'layout-unix.sh' script into an 'install.sh' script. Like the 'uninstall.sh' update from the previous commit, the new script contains only a few major differences from 'layout-unix.sh':
- The '--payload' option is renamed to '--install-root'.
- Like 'uninstall.sh', commands that may require root privileges (such as
when '--install-root=/') are wrapped in a 'retry_root' function that first
runs the operation as the calling user, then as root if it fails. However,
unlike 'uninstall.sh', this behavior is gated by an '--allow-root' option,
ensuring we only do this escalation if we're running the 'install' target.
- 'INSTALL_TO' is renamed to 'APP_ROOT' to avoid confusion with
'INSTALL_ROOT'. This is also done in the pkg 'postinstall' script.
Signed-off-by: Victoria Dye <[email protected]>
0 commit comments