full_updater/debian/rules
enzo fce1146ed8
Some checks failed
Build and Release .deb / build-deb (push) Failing after 22s
fix(debian): move fullupdater-update to /opt, symlink in postinst
- Install both scripts in /opt/full-updater/scripts/
- Create symlinks in /usr/local/bin via postinst
- Fixes dh_usrlocal error
2026-05-13 00:45:29 +02:00

21 lines
835 B
Makefile
Executable file

#!/usr/bin/make -f
export DH_VERBOSE = 1
%:
dh $@
override_dh_auto_install:
install -d -m 755 $(CURDIR)/debian/full-updater/opt/full-updater
install -d -m 755 $(CURDIR)/debian/full-updater/opt/full-updater/scripts
install -D -m 755 scripts/fullupdater $(CURDIR)/debian/full-updater/opt/full-updater/scripts/fullupdater
install -D -m 755 scripts/fullupdater-update $(CURDIR)/debian/full-updater/opt/full-updater/scripts/fullupdater-update
install -D -m 644 requirements.txt $(CURDIR)/debian/full-updater/opt/full-updater/requirements.txt
cp -r full_updater $(CURDIR)/debian/full-updater/opt/full-updater/
find $(CURDIR)/debian/full-updater/opt/full-updater -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true
override_dh_auto_build:
# Pas de build necessaire
override_dh_auto_clean:
# Pas de clean necessaire