forked from mirrored-repos/manjaro-tools
[util-iso.sh] fix snap values
This commit is contained in:
parent
11c328c79e
commit
5ccd0e2167
2 changed files with 6 additions and 6 deletions
|
@ -244,10 +244,10 @@ reset_pac_conf(){
|
|||
# * https://blackboxsw.github.io/seed-snaps-using-maas.html
|
||||
function seed_snaps() {
|
||||
local SEED_DIR="/var/lib/snapd/seed"
|
||||
local SEED_CHANNEL="${SEED_CHANNEL_ISO}"
|
||||
local SEED_SNAPS="${STRICT_SNAPS} ${CLASSIC_SNAPS}"
|
||||
local SEED_CHANNEL="${seed_channel}"
|
||||
local SEED_SNAPS="${strict_snaps} ${classic_snaps}"
|
||||
|
||||
if [[ -n "${STRICT_SNAPS}" ]] || [[ -n "${CLASSIC_SNAPS}" ]]; then
|
||||
if [[ -n "${strict_snaps}" ]] || [[ -n "${classic_snaps}" ]]; then
|
||||
msg2 "Installing snaps: %s" ${SEED_SNAPS}
|
||||
# Preseeded snaps should be downloaded from a versioned channel
|
||||
rm -rfv "$1/${SEED_DIR}"
|
||||
|
|
|
@ -404,9 +404,9 @@ load_profile_config(){
|
|||
[[ -z ${autologin} ]] && autologin="true"
|
||||
[[ ${displaymanager} == 'none' ]] && autologin="false"
|
||||
|
||||
[[ -z ${strict_snaps} ]] && STRICT_SNAPS=""
|
||||
[[ -z ${classic_snaps} ]] && CLASSIC_SNAPS=""
|
||||
[[ -z ${snap_channel} ]] && SNAP_CHANNEL_ISO="stable"
|
||||
[[ -z ${strict_snaps} ]] && strict_snaps=""
|
||||
[[ -z ${classic_snaps} ]] && classic-snaps=""
|
||||
[[ -z ${snap_channel} ]] && snap_channel="stable"
|
||||
|
||||
[[ -z ${multilib} ]] && multilib="true"
|
||||
|
||||
|
|
Loading…
Reference in a new issue