Add full Oculog codebase
This commit is contained in:
16
clients/ubuntu/debian/rules
Executable file
16
clients/ubuntu/debian/rules
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_install:
|
||||
dh_auto_install
|
||||
# Install client script
|
||||
install -d $(CURDIR)/debian/oculog-client/opt/oculog
|
||||
install -m 755 client.py $(CURDIR)/debian/oculog-client/opt/oculog/
|
||||
# Install systemd service
|
||||
install -d $(CURDIR)/debian/oculog-client/etc/systemd/system
|
||||
install -m 644 oculog-client.service $(CURDIR)/debian/oculog-client/etc/systemd/system/
|
||||
# Create symlink
|
||||
install -d $(CURDIR)/debian/oculog-client/usr/local/bin
|
||||
ln -sf /opt/oculog/client.py $(CURDIR)/debian/oculog-client/usr/local/bin/oculog-client
|
||||
Reference in New Issue
Block a user