From 7c7a9308b4486172dd31037dda6f46ffed2c3a9d Mon Sep 17 00:00:00 2001 From: vhsdream Date: Tue, 30 Sep 2025 14:43:11 -0400 Subject: [PATCH] rwMarkable: small tweaks --- ct/rwmarkable.sh | 6 ++++-- install/rwmarkable-install.sh | 1 - 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ct/rwmarkable.sh b/ct/rwmarkable.sh index a7d2664e..c1c37045 100644 --- a/ct/rwmarkable.sh +++ b/ct/rwmarkable.sh @@ -54,14 +54,16 @@ function update_script() { msg_info "Restoring configuration & data" mv /opt/app.env /opt/rwmarkable/.env - $STD tar xf /opt/data.tar + $STD tar -xf /opt/data.tar msg_ok "Restored configuration & data" msg_info "Restarting ${APP} service" systemctl start rwmarkable msg_ok "Restarted ${APP} service" + rm /opt/data.tar + msg_ok "Updated Successfully" fi - + exit } start diff --git a/install/rwmarkable-install.sh b/install/rwmarkable-install.sh index 602f6548..6f9f32e6 100644 --- a/install/rwmarkable-install.sh +++ b/install/rwmarkable-install.sh @@ -22,7 +22,6 @@ $STD yarn --frozen-lockfile $STD yarn next telemetry disable $STD yarn build mkdir -p data/{users,checklists,notes} -# maybe move some stuff around so the app is in a sensible spot? msg_ok "Successfully built app" msg_info "Creating .env file"