Files
mac_os/lib/reinstallers.sh
Brooke Kuhlmann 8fbf63a783 Fixed Bash script header to dynamically load correct environment.
- Improves loading of the correct Bash environment/version, especially
  on systems that might not be using a standard install (i.e.
  Homebrew), by loading a version of Bash as defined by the environment
  rather than a hard coded path.

[ci skip]
2016-10-10 09:37:54 -06:00

19 lines
329 B
Bash

#! /usr/bin/env bash
# DESCRIPTION
# Defines reinstall functions.
# Reinstall application.
reinstall_application() {
uninstall_application
scripts/applications.sh
}
export -f reinstall_application
# Reinstall extension.
reinstall_extension() {
uninstall_extension
scripts/extensions.sh
}
export -f reinstall_extension