Fix paths to deb

This commit is contained in:
2025-04-15 17:06:40 -04:00
parent b954f89580
commit a1e4d4cf8c

View File

@@ -1076,11 +1076,11 @@ install_mc_snap() {
parts: parts:
mediacenter: mediacenter:
plugin: dump plugin: dump
source: ${MC_DEB##*/} source: /build/SOURCES/${MC_DEB##*/}
override-build: | override-build: |
set -x # adds debug tracing set -x # adds debug tracing
mkdir -p \$SNAPCRAFT_PART_INSTALL mkdir -p \$SNAPCRAFT_PART_INSTALL
dpkg-deb -x "${MC_DEB##*/}" \$SNAPCRAFT_PART_INSTALL dpkg-deb -x /build/SOURCES/${MC_DEB##*/} \$SNAPCRAFT_PART_INSTALL
stage-packages: stage-packages:
- libc6 - libc6
- libasound2 - libasound2
@@ -1112,7 +1112,7 @@ install_mc_snap() {
apps: apps:
mediacenter: mediacenter:
command: usr/bin/mediacenter${MC_MVERSION} command: /usr/bin/mediacenter${MC_MVERSION}
plugs: plugs:
- network - network
- desktop - desktop