mirror of
https://github.com/mudler/luet.git
synced 2025-09-20 02:31:41 +00:00
Merge pull request #172 from trappiz/patch-2
Update version, utilize curl fully instead of mixing.
This commit is contained in:
@@ -2,13 +2,13 @@
|
|||||||
set -ex
|
set -ex
|
||||||
export LUET_NOLOCK=true
|
export LUET_NOLOCK=true
|
||||||
|
|
||||||
LUET_VERSION=0.8.6
|
LUET_VERSION=0.9.24
|
||||||
LUET_ROOTFS=${LUET_ROOTFS:-/}
|
LUET_ROOTFS=${LUET_ROOTFS:-/}
|
||||||
LUET_DATABASE_PATH=${LUET_DATABASE_PATH:-/var/luet/db}
|
LUET_DATABASE_PATH=${LUET_DATABASE_PATH:-/var/luet/db}
|
||||||
LUET_DATABASE_ENGINE=${LUET_DATABASE_ENGINE:-boltdb}
|
LUET_DATABASE_ENGINE=${LUET_DATABASE_ENGINE:-boltdb}
|
||||||
LUET_CONFIG_PROTECT=${LUET_CONFIG_PROTECT:-1}
|
LUET_CONFIG_PROTECT=${LUET_CONFIG_PROTECT:-1}
|
||||||
|
|
||||||
wget -q https://github.com/mudler/luet/releases/download/0.8.6/luet-0.8.6-linux-amd64 -O luet
|
curl -L https://github.com/mudler/luet/releases/download/${LUET_VERSION}/luet-${LUET_VERSION}-linux-amd64 --output luet
|
||||||
chmod +x luet
|
chmod +x luet
|
||||||
|
|
||||||
mkdir -p /etc/luet/repos.conf.d || true
|
mkdir -p /etc/luet/repos.conf.d || true
|
||||||
@@ -17,9 +17,9 @@ mkdir -p /var/tmp/luet || true
|
|||||||
|
|
||||||
if [ "${LUET_CONFIG_PROTECT}" = "1" ] ; then
|
if [ "${LUET_CONFIG_PROTECT}" = "1" ] ; then
|
||||||
mkdir -p /etc/luet/config.protect.d || true
|
mkdir -p /etc/luet/config.protect.d || true
|
||||||
wget -q https://raw.githubusercontent.com/mudler/luet/master/contrib/config/config.protect.d/01_etc.yml.example -O /etc/luet/config.protect.d/01_etc.yml
|
curl -L https://raw.githubusercontent.com/mudler/luet/master/contrib/config/config.protect.d/01_etc.yml.example --output /etc/luet/config.protect.d/01_etc.yml
|
||||||
fi
|
fi
|
||||||
wget -q https://raw.githubusercontent.com/mocaccinoOS/repository-index/master/packages/mocaccino-repository-index.yml -O /etc/luet/repos.conf.d/mocaccino-repository-index.yml
|
curl -L https://raw.githubusercontent.com/mocaccinoOS/repository-index/master/packages/mocaccino-repository-index.yml --output /etc/luet/repos.conf.d/mocaccino-repository-index.yml
|
||||||
|
|
||||||
cat > /etc/luet/luet.yaml <<EOF
|
cat > /etc/luet/luet.yaml <<EOF
|
||||||
general:
|
general:
|
||||||
|
Reference in New Issue
Block a user