Fix apply.log missing on first install; keep repo on uninstall
This commit is contained in:
1 parent
e077a87300
commit
d0b0e79079
2 files changed
+2
-9
No files matched your search
@@ -97,14 +97,6 @@ if [ "$_restore_failed" -eq 1 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# ── Remove patch directory ────────────────────────────────────────────────────
|
||||
|
||||
if [ -d "$PATCH_DIR" ]; then
|
||||
rm -rf "$PATCH_DIR"
|
||||
echo "Removed $PATCH_DIR"
|
||||
fi
|
||||
echo ""
|
||||
|
||||
echo "Restarting middlewared ..."
|
||||
if systemctl restart middlewared; then
|
||||
echo ""
|
||||
|
||||
Reference in new issue
Block a user