From 45da7058df5d80003f1c6e1e6a2e81ef0e405c6e Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Tue, 18 Oct 2022 20:10:12 -0500 Subject: [PATCH] Fix cleanup command --- build_revanced.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_revanced.sh b/build_revanced.sh index b05ac13..30f2df9 100755 --- a/build_revanced.sh +++ b/build_revanced.sh @@ -220,6 +220,6 @@ mv YouTube_ReVanced_nonroot_$timestamp.apk archive/ mv YouTube_Music_ReVanced_nonroot_$timestamp.apk archive/ find ./archive -maxdepth 1 -type f -printf '%Ts\t%P\n' \ | sort -rn \ - | tail -n +6 \ + | tail -n +7 \ | cut -f2- \ - | xargs -r -I {} rm {} + | xargs -r -I {} rm "./archive/{}"