diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-06 19:32:48 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-06 19:32:48 +0100 |
commit | 2d86cd9ddc5d9442e4a8e8fb50d72480a8293a4a (patch) | |
tree | 59cecf3bc71168b7a32b449aac436b0474147525 /src/backend/clean.py | |
parent | 1ec0c210ca2cbdb729a416e37a50d4b9a6a0dfa0 (diff) |
minor fixes, make the gui client work with the new backend
Diffstat (limited to 'src/backend/clean.py')
-rw-r--r-- | src/backend/clean.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/backend/clean.py b/src/backend/clean.py deleted file mode 100644 index 2460d9e..0000000 --- a/src/backend/clean.py +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/python3 - -import os - -portageCacheDir = '/var/cache/packages' - -def cache(): - if os.path.isdir(portageCacheDir): - for files in os.listdir(portageCacheDir): - if os.path.isfile(os.path.join(portageCacheDir, files)): - os.remove(os.path.join(portageCacheDir, files)) - else: - shutil.rmtree(os.path.join(portageCacheDir, files)) |