diff --git a/debian/rules b/debian/rules index 72f57ff..2dc6545 100755 --- a/debian/rules +++ b/debian/rules @@ -21,3 +21,10 @@ endif override_dh_auto_install: /root/.cargo/bin/cargo fetch /root/.cargo/bin/cargo build --release + +override_dh_install: + dh_install + mkdir -p debianwayfreeze/usr/bin/ + cp -vf target/release/wayfreeze debian/wayfreeze/usr/bin/ + chmod 755 debian/wayfreeze/usr/bin/wayfreeze + chmod +x debian/wayfreeze/usr/bin/wayfreeze