Skip to content

Commit

Permalink
Merge pull request #70 from NeroReflex/remove_entries
Browse files Browse the repository at this point in the history
Improvements and cleanups
  • Loading branch information
NeroReflex authored Aug 24, 2024
2 parents 19f6b90 + a3b6343 commit cf85113
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
8 changes: 7 additions & 1 deletion __frzr-deploy
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,13 @@ frzr_deploy() {
sleep 1;
done
elif [ "${SHOW_UI}" = "0" ]; then
curl --http1.1 -L -o "${IMG_FILE}" -C - "${IMG_URL}"
if ! curl --http1.1 -L -o "${IMG_FILE}" -C - "${IMG_URL}"; then
TASK_ERROR=1
TASK_ERROR_MSG="Download failed"
STATE="FAIL"
send_data
continue
fi
else
TASK_MSG="Using Whiptail to show download progress"
send_data
Expand Down
6 changes: 0 additions & 6 deletions frzr
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ frzr unlock (deployment) [Unlock the specified deployment, or the running one if
frzr set-channel [Set the update channel stable/testing/unstable]
frzr get-channel [Get the update channel currently in use]
frzr version [Get the version of FRZR]
frzr build-initramfs [Build the initramfs for the kernel]
frzr configure-tweaks [Configure system specific quirks]
frzr bootstrap [Format and configure a drive to be used with FRZR]
[Environment]
Expand Down Expand Up @@ -268,10 +266,6 @@ elif [ $function == "get-channel" ]; then
echo "get-channel"
#TODO create frzr-channel to get target channel
#echo ${FRZR_ROOT}/source
elif [ $function == "build-initramfs" ]; then
source frzr-initramfs
elif [ $function == "configure-tweaks" ]; then
source frzr-tweaks
elif [ $function == "package-options" ]; then
#User selected packages to be added to the install
source frzr-extras
Expand Down
3 changes: 2 additions & 1 deletion frzr-autoupdate.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Wants=network-online.target

[Service]
Type=oneshot
ExecStart=frzr-deploy
Environment="SHOW_UI=0"
ExecStart=frzr deploy
RemainAfterExit=false
StandardOutput=journal

0 comments on commit cf85113

Please sign in to comment.