From 116fceaed48b4aace01290cee3ddfa007b2550f5 Mon Sep 17 00:00:00 2001 From: 0neGal Date: Mon, 24 Jul 2023 18:27:49 +0200 Subject: fixed updating not removing older packages --- src/modules/packages.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/packages.js b/src/modules/packages.js index a20cb5a..d1ea46e 100644 --- a/src/modules/packages.js +++ b/src/modules/packages.js @@ -240,6 +240,7 @@ packages.install = async (url, author, package_name, version) => { } // removes older version of package inside the `packages` folder + packages.remove(author, package_name); packages.remove(author, package_name, version); console.info("Moving package:", name); -- cgit v1.2.3