Skip to content

Commit

Permalink
Regoster all config files in the upstart directory as config files in…
Browse files Browse the repository at this point in the history
… the debian package.
  • Loading branch information
specialunderwear committed May 2, 2012
1 parent 1996882 commit a6b070f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pm/recipe/debianize/script/debianize.sh
Expand Up @@ -23,7 +23,8 @@ if [ `which dpkg-deb` ]; then
if [ -d upstart ]; then
echo "building extra package in upstart dir"
cd upstart
fpm -x ".svn*" -x "**.svn*" -x "**.svn**" --maintainer="$MAINTAINER" --category=misc -s dir -t deb -n "$PACKAGE_NAME.d" -v "$PACKAGE_VERSION" -d "$PACKAGE_NAME (= $PACKAGE_VERSION)" -a all *
CONFIG_FILES=`find etc -type f | grep -v svn | xargs -i% echo "--config-files=/%"`
fpm $CONFIG_FILES -x ".svn*" -x "**.svn*" -x "**.svn**" --maintainer="$MAINTAINER" --category=misc -s dir -t deb -n "$PACKAGE_NAME.d" -v "$PACKAGE_VERSION" -d "$PACKAGE_NAME (= $PACKAGE_VERSION)" -a all *
mv $PACKAGE_NAME* ..
cd ..
fi
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -60,7 +60,7 @@
from setuptools import setup
from setuptools import find_packages

version = '0.3'
version = '0.5'

setup(name='pm.recipe.debianize',
version=version,
Expand Down

0 comments on commit a6b070f

Please sign in to comment.