mirror of
https://github.com/jordansissel/fpm
synced 2025-08-31 04:20:42 +02:00
15 lines
276 B
Bash
15 lines
276 B
Bash
#!/bin/bash
|
|
RAILS_VERSION=3.1.0
|
|
|
|
run() {
|
|
fpm -s gem -t deb -v $RAILS_VERSION rails
|
|
|
|
file=rubygem-rails_${RAILS_VERSION}_all.deb
|
|
dpkg -c $file | awk '{$1=$2=$3=$4=$5="";print}' | sed -e 's/^ *//' | sort > $output
|
|
rm $file
|
|
}
|
|
|
|
clean() {
|
|
rm rails-${RAILS_VERSION}.gem
|
|
}
|