From 3f92c609abae899f2e689001f73b17ee99cd091b Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Sun, 22 Sep 2024 14:12:41 +0200 Subject: [PATCH] addons: fix Signed-off-by: AuxXxilium --- revert/install.sh | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/revert/install.sh b/revert/install.sh index 510a1c5..29a468f 100755 --- a/revert/install.sh +++ b/revert/install.sh @@ -25,18 +25,18 @@ if [ "${1}" = "late" ]; then mkdir -p "/tmpRoot/usr/lib/systemd/system" DEST="/tmpRoot/usr/lib/systemd/system/revert.service" cat <${DEST} - [Unit] - Description=revert - After=multi-user.target +[Unit] +Description=revert +After=multi-user.target - [Service] - Type=oneshot - RemainAfterExit=yes - ExecStart=/usr/arc/revert.sh +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/usr/arc/revert.sh - [Install] - WantedBy=multi-user.target - EOF +[Install] +WantedBy=multi-user.target +EOF mkdir -vp /tmpRoot/usr/lib/systemd/system/multi-user.target.wants ln -vsf /usr/lib/systemd/system/revert.service /tmpRoot/usr/lib/systemd/system/multi-user.target.wants/revert.service @@ -55,5 +55,6 @@ if [ "${1}" = "late" ]; then # Version echo "LOADERLABEL=\"${LOADERLABEL}\"" >"/tmpRoot/usr/arc/VERSION" echo "LOADERVERSION=\"${LOADERVERSION}\"" >>"/tmpRoot/usr/arc/VERSION" + echo "LOADERBRANCH=\"${LOADERBRANCH}\"" >>"/tmpRoot/usr/arc/VERSION" fi \ No newline at end of file