blob: 8db0c549c8a597923afbb0a105eb8233433172eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
post_install() {
set -e
cd /usr/share/aspisec
#rm -f Gemfile.lock
bundle config 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/aspisec/{vendor,.bundle}
rmdir /usr/share/aspisec
}
|