diff --git a/.gitignore b/.gitignore index e21a24f..f3daa0b 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,8 @@ __pycache__/ legion_linux.egg-info/ +deb_dist + reverse_engineer # Prerequisites diff --git a/deploy/build_deb.sh b/deploy/build_deb.sh index ff7e974..5ce353e 100755 --- a/deploy/build_deb.sh +++ b/deploy/build_deb.sh @@ -43,8 +43,11 @@ sudo python3 setup.py --command-packages=stdeb.command sdist_dsc cd deb_dist/legion-linux-1.0.0 ##Add to debial install -echo "legion_linux/extra/service/legion-linux.service /etc/systemd/system/" | sudo tee -a debian/install -echo "legion_linux/extra/service/legion-linux.path /lib/systemd/system/" | sudo tee -a debian/install +sudo cp -R ../../../../extra/service/legion-linux.service . +sudo cp -R ../../../../extra/service/legion-linux.path . +echo "legion-linux.service /etc/systemd/system/" | sudo tee -a debian/install +echo "legion-linux.path /lib/systemd/system/" | sudo tee -a debian/install +sudo EDITOR=/bin/true dpkg-source -q --commit . p1 # Build package sudo dpkg-buildpackage -uc -us