Use pack instead of snap directive
This commit is contained in:
@@ -1112,7 +1112,7 @@ install_mc_snap() {
|
||||
|
||||
apps:
|
||||
mediacenter:
|
||||
command: usr/bin/mediacenter${MC_MVERSION}
|
||||
command: /usr/bin/mediacenter${MC_MVERSION}
|
||||
plugs:
|
||||
- network
|
||||
- desktop
|
||||
@@ -1132,7 +1132,7 @@ install_mc_snap() {
|
||||
-v "$OUTPUT_DIR:/build:Z" \
|
||||
-w /build \
|
||||
ghcr.io/canonical/snapcraft:8_core24 \
|
||||
snap -o "${MC_PKG}_${MC_VERSION}-${MC_RELEASE}.snap" --destructive-mode --debug; then
|
||||
pack -o "${MC_PKG}_${MC_VERSION}-${MC_RELEASE}.snap" --destructive-mode; then
|
||||
echo "Snap package built successfully: $snap_dir/${MC_PKG}_${MC_VERSION}-${MC_RELEASE}.snap"
|
||||
else
|
||||
err "Snap package build failed."
|
||||
|
||||
Reference in New Issue
Block a user