blob: d4e8523c2b4e670e196efd506264b08784675e76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
post_install() {
set -e
cd /usr/share/unisec
#rm -f Gemfile.lock
bundle config set build.nokogiri --use-system-libraries
bundle config set --local path 'vendor/bundle'
bundle config set --local without development install test lint docs
bundle install
}
post_upgrade() {
post_install "$@"
}
post_remove() {
rm -r /usr/share/unisec/{vendor,.bundle}
rmdir /usr/share/unisec
}
|