-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnginx-passenger.install
29 lines (25 loc) · 1004 Bytes
/
nginx-passenger.install
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
all_off="$(tput sgr0)"
bold="${all_off}$(tput bold)"
red="${bold}$(tput setaf 1)"
yellow="${bold}$(tput setaf 3)"
blue="${bold}$(tput setaf 4)"
note() {
printf "${blue}==>${yellow} NOTE:${bold} $1${all_off}\n"
}
warning() {
printf "${blue}==>${red} WARNING:${bold} $1${all_off}\n"
}
post_install() {
note "Passenger configuration quick start: https://github.com/t-richards/aur-nginx-passenger#configuration"
}
post_upgrade() {
warning "BREAKING CHANGES FOR NGINX-PASSENGER (Now with Passenger 5!)"
echo "Lots of files in this package have changed locations. As such, please"
echo "update your passenger_root directive(s) before restarting nginx! The"
echo "new passenger_root directive should look something like this:"
echo ""
echo "passenger_root /usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini;"
echo ""
echo "For more information about configuration please visit:"
echo "https://github.com/t-richards/aur-nginx-passenger#configuration"
}