diff --git a/.github/workflows/package_amd64.yml b/.github/workflows/package_amd64.yml index aec3bca30a..782ef479bc 100644 --- a/.github/workflows/package_amd64.yml +++ b/.github/workflows/package_amd64.yml @@ -69,8 +69,8 @@ jobs: # Transition /usr/share/doc/meshtasticd to /usr/share/meshtasticd echo "rm -rf /usr/share/doc/meshtasticd" > .debpkg/DEBIAN/preinst chmod +x .debpkg/DEBIAN/preinst - echo "/usr/share/meshtasticd /usr/share/doc/meshtasticd" > .debpkg/DEBIAN/meshtasticd.links - chmod +x .debpkg/DEBIAN/meshtasticd.links + echo "ln -sf /usr/share/meshtasticd /usr/share/doc/meshtasticd" > .debpkg/DEBIAN/postinst + chmod +x .debpkg/DEBIAN/postinst - uses: jiro4989/build-deb-action@v3 with: diff --git a/.github/workflows/package_raspbian.yml b/.github/workflows/package_raspbian.yml index b0a4a40d76..aef8905f82 100644 --- a/.github/workflows/package_raspbian.yml +++ b/.github/workflows/package_raspbian.yml @@ -69,8 +69,8 @@ jobs: # Transition /usr/share/doc/meshtasticd to /usr/share/meshtasticd echo "rm -rf /usr/share/doc/meshtasticd" > .debpkg/DEBIAN/preinst chmod +x .debpkg/DEBIAN/preinst - echo "/usr/share/meshtasticd /usr/share/doc/meshtasticd" > .debpkg/DEBIAN/meshtasticd.links - chmod +x .debpkg/DEBIAN/meshtasticd.links + echo "ln -sf /usr/share/meshtasticd /usr/share/doc/meshtasticd" > .debpkg/DEBIAN/postinst + chmod +x .debpkg/DEBIAN/postinst - uses: jiro4989/build-deb-action@v3 with: diff --git a/.github/workflows/package_raspbian_armv7l.yml b/.github/workflows/package_raspbian_armv7l.yml index d66b46dc27..ddb84d4a7e 100644 --- a/.github/workflows/package_raspbian_armv7l.yml +++ b/.github/workflows/package_raspbian_armv7l.yml @@ -69,8 +69,8 @@ jobs: # Transition /usr/share/doc/meshtasticd to /usr/share/meshtasticd echo "rm -rf /usr/share/doc/meshtasticd" > .debpkg/DEBIAN/preinst chmod +x .debpkg/DEBIAN/preinst - echo "/usr/share/meshtasticd /usr/share/doc/meshtasticd" > .debpkg/DEBIAN/meshtasticd.links - chmod +x .debpkg/DEBIAN/meshtasticd.links + echo "ln -sf /usr/share/meshtasticd /usr/share/doc/meshtasticd" > .debpkg/DEBIAN/postinst + chmod +x .debpkg/DEBIAN/postinst - uses: jiro4989/build-deb-action@v3 with: