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
Some packages require or greatly benefit from some post-install configuration, scripts, and messages.
Add support for
Plain text messages e.g. "You should add this to your PATH"
Scripts
The post-install scripts may need to be dynamic so it has access to the package version.
An example might be:
post_install_message() {
cat <<TXT You should add ${pkgdir}/libexec to the end of your PATHTXT
}
post_install_script() {
cat <<SH if [ ! -f $SYSCONF_DIR/etc/bashrc ]; then echo "Installing default bashrc" cp ${pkgprefix}/share/defaults/bashrc $SYSCONF_DIR/etc/bashrc fiSH
}
Installing files into the /opt/local scope may be consideration for standard functionality. Something like:
Some packages require or greatly benefit from some post-install configuration, scripts, and messages.
Add support for
The post-install scripts may need to be dynamic so it has access to the package version.
An example might be:
Installing files into the
/opt/local
scope may be consideration for standard functionality. Something like:The text was updated successfully, but these errors were encountered: