Skip to content

Commit

Permalink
fix: .deb venv path
Browse files Browse the repository at this point in the history
  • Loading branch information
ggmartins committed Dec 24, 2020
1 parent db5eed2 commit f1eccd2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package/deb/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ cp ../../env_template netmicroscope-daemon/usr/local/src/netmicroscope-daemon/
cp ../../appmonitor.py netmicroscope-daemon/usr/local/src/netmicroscope-daemon/
cp -R ../../appmonitor/ netmicroscope-daemon/usr/local/src/netmicroscope-daemon/
cp -R ../../venv/ netmicroscope-daemon/usr/local/src/netmicroscope-daemon/
sed -i "s/VIRTUAL_ENV=\"\/home\/gmartins\/nm\/netmicroscope\-daemon\/venv\"/VIRTUAL_ENV=\"\/usr\/local\/src\/netmicroscope\-daemon\/venv\/\"/" netmicroscope-daemon/usr/local/src/netmicroscope-daemon/venv/bin/activate
sed -i 's/'${version_deb}'/'${version_pyc}'/g' netmicroscope-daemon/DEBIAN/control
fakeroot dpkg-deb --build netmicroscope-daemon
mv netmicroscope-daemon.deb netmicroscope-daemon-v${version_pyc}.deb

0 comments on commit f1eccd2

Please sign in to comment.