mirror of
https://github.com/gohugoio/hugo.git
synced 2025-12-13 20:36:04 +01:00
snap: Address snapcraft deprecations
This commit is contained in:
@@ -68,7 +68,7 @@ environment:
|
|||||||
npm_config_userconfig: $SNAP_USER_DATA/.npmrc
|
npm_config_userconfig: $SNAP_USER_DATA/.npmrc
|
||||||
pandoc_datadir: $SNAP/usr/share/pandoc
|
pandoc_datadir: $SNAP/usr/share/pandoc
|
||||||
PYTHONHOME: /usr:$SNAP/usr
|
PYTHONHOME: /usr:$SNAP/usr
|
||||||
RUBYLIB: $SNAP/usr/lib/ruby/vendor_ruby/3.0.0:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/ruby/vendor_ruby/3.0.0:$SNAP/usr/lib/ruby/vendor_ruby:$SNAP/usr/lib/ruby/3.0.0:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/ruby/3.0.0
|
RUBYLIB: $SNAP/usr/lib/ruby/vendor_ruby/3.0.0:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/ruby/vendor_ruby/3.0.0:$SNAP/usr/lib/ruby/vendor_ruby:$SNAP/usr/lib/ruby/3.0.0:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/ruby/3.0.0
|
||||||
|
|
||||||
# HUGO_SECURITY_EXEC_OSENV
|
# HUGO_SECURITY_EXEC_OSENV
|
||||||
#
|
#
|
||||||
@@ -177,7 +177,7 @@ parts:
|
|||||||
override-build: |
|
override-build: |
|
||||||
set -ex
|
set -ex
|
||||||
craftctl default
|
craftctl default
|
||||||
case "$CRAFT_TARGET_ARCH" in
|
case "$CRAFT_ARCH_BUILD_FOR" in
|
||||||
amd64) arch=x64 ;;
|
amd64) arch=x64 ;;
|
||||||
arm64) arch=arm64 ;;
|
arm64) arch=arm64 ;;
|
||||||
armhf) arch=arm ;;
|
armhf) arch=arm ;;
|
||||||
|
|||||||
Reference in New Issue
Block a user