Skip to content

Commit

Permalink
added missing .inc files to .deb, show number of contained files/folders
Browse files Browse the repository at this point in the history
  • Loading branch information
john30 committed Jun 5, 2016
1 parent 15b5f2a commit b143f39
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions make_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ echo " pack"
echo "*************"
echo
mkdir -p $RELEASE/DEBIAN $RELEASE/etc/ebusd || exit 1
(tar cf - -C ../ebusd-2.1.x/$LANG "--exclude=./$BUILD" --exclude=./.* . | tar xf - -C $RELEASE/etc/ebusd --wildcards **/*.csv) || exit 1
(tar cf - -C ../ebusd-2.1.x/$LANG "--exclude=./$BUILD" --exclude=./.* . | tar xf - -C $RELEASE/etc/ebusd) || exit 1

cat <<EOF > $RELEASE/DEBIAN/control
Package: ebusd-configuration
Expand Down Expand Up @@ -71,7 +71,5 @@ cd ..
rm -rf "$BUILD"

echo
echo "Package created: $PACKAGE"
echo
echo "Content:"
dpkg -c "$PACKAGE"
files=`dpkg -c "$PACKAGE"|wc -l`
echo "Package created: $PACKAGE, $files files"

0 comments on commit b143f39

Please sign in to comment.