Skip to content

Commit

Permalink
build-deb postinst script added
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Kraynyukhov committed May 3, 2018
1 parent 4f14e5b commit a840cdb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,9 @@ build-deb: install-examples clone-luajit clone-libressl
mkdir -p /opt/distrib/lapps-0.5.1-amd64/opt/lapps
mkdir -p /opt/distrib/lapps-0.5.1-amd64/etc/ld.so.conf.d
mkdir -p /opt/distrib/lapps-0.5.1-amd64/DEBIAN
cp dpkg/control /opt/distrib/lapps-0.5.1-amd64/DEBIAN/
cp dpkg/lapps.conf /opt/distrib/lapps-0.5.1-amd64/etc/ld.so.conf.d/lapps.conf
cp ${CND_BASEDIR}/dpkg/control /opt/distrib/lapps-0.5.1-amd64/DEBIAN/
install -m 0755 ${CND_BASEDIR}/dpkg/postinst /opt/distrib/lapps-0.5.1-amd64/DEBIAN/
cp ${CND_BASEDIR}/dpkg/lapps.conf /opt/distrib/lapps-0.5.1-amd64/etc/ld.so.conf.d/lapps.conf
cp -RpP /opt/lapps/* /opt/distrib/lapps-0.5.1-amd64/opt/lapps/
cd /opt/distrib && dpkg-deb --build lapps-0.5.1-amd64
cp /opt/distrib/lapps-0.5.1-amd64.deb ${CND_BASEDIR}/packages/
Expand Down
3 changes: 3 additions & 0 deletions dpkg/postinst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#bin/bash

ldconfig

0 comments on commit a840cdb

Please # to comment.