Permalink
Browse files

Minor packaging improvements

  • Loading branch information...
andreas-gruenbacher committed Apr 18, 2017
1 parent 5418a64 commit fc813e2887c5b52f1ee65bfc35cf979a1b048000
Showing with 4 additions and 3 deletions.
  1. +0 −1 .gitattributes
  2. +1 −0 Makefile.release
  3. +1 −0 debian/postinst
  4. +0 −1 pdf/.gitattributes
  5. +2 −1 release.sh
View
@@ -3,6 +3,5 @@
.gitattributes export-ignore
backend !export-ignore
htdocs !export-ignore
pdf !export-ignore
create-db.sql !export-ignore
systemd !export-ignore
View
@@ -10,6 +10,7 @@ distclean: clean
install:
find -depth \( -name debian -o -name Makefile -o -name create-db.sql \) -prune -o -print \
| cpio -pd $(DESTDIR)/var/lib/$(package)
install -d $(DESTDIR)/var/lib/$(package)/pdf/regform
install -D create-db.sql $(DESTDIR)/usr/share/doc/$(package)/create-db.sql
install -d $(DESTDIR)/etc/systemd/system
install systemd/trialinfo.{socket,service} $(DESTDIR)/etc/systemd/system
View
@@ -21,6 +21,7 @@ set -e
case "$1" in
configure)
useradd --system trialinfo || [ $? -eq 9 ]
systemctl daemon-reload
systemctl stop trialinfo 2> /dev/null || :
;;
View

This file was deleted.

Oops, something went wrong.
View
@@ -8,7 +8,7 @@ version=${1:1}
tarball=$PACKAGE-$version.tar.gz
basename=$PACKAGE-$version
deb=${basename/-/_}_all.deb
deb=${PACKAGE}_${version}_all.deb
curdir=$PWD
@@ -25,4 +25,5 @@ sed -i \
sudo dpkg-buildpackage -us -uc -d
cd ..
sudo chown -R $(whoami) .
mkdir -p "$curdir/$REPO"
cat "$deb" > "$curdir/$REPO/$deb"

0 comments on commit fc813e2

Please sign in to comment.