From 9abe1ad301e3db636e2aa09504ae16232744ae93 Mon Sep 17 00:00:00 2001 From: TheSpad Date: Mon, 25 Jul 2022 16:46:28 +0100 Subject: [PATCH] Remove archive after unpack --- root/etc/cont-init.d/98-calibre | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/root/etc/cont-init.d/98-calibre b/root/etc/cont-init.d/98-calibre index cd9d71f..1082a5e 100644 --- a/root/etc/cont-init.d/98-calibre +++ b/root/etc/cont-init.d/98-calibre @@ -81,7 +81,9 @@ fi tar xf \ /tmp/calibre.txz \ - -C /app/calibre + -C /app/calibre + +rm /tmp/calibre.txz if [ ! -e /usr/bin/calibre-server ]; then /app/calibre/calibre_postinstall