22017988c6
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
17 lines
411 B
Bash
Executable file
17 lines
411 B
Bash
Executable file
#!/usr/bin/env nix-shell
|
|
#!nix-shell --pure -i bash -p cacert bundix
|
|
|
|
# Do these steps before running this script:
|
|
# 1. Copy Gemfile from new Redmine version to this folder
|
|
# 2. Manually modify the database lines in Gemfile (diff the two files, it's obvious)
|
|
|
|
pkg_dir="$(dirname "$0")"
|
|
cd ${pkg_dir}
|
|
|
|
for file in "gemset.nix" "Gemfile.lock"; do
|
|
if [ -f ${file} ]; then
|
|
rm ${file}
|
|
fi
|
|
done
|
|
|
|
bundix -l
|