1
0
Fork 0

Merge pull request #757 from ferdnyc/patch-1

GUI: Fix the profile deleter script
This commit is contained in:
Jaroslav Škarvada 2025-07-24 00:24:18 +02:00 committed by GitHub
commit c3cab598c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,6 +2,12 @@ import os
import sys
import shutil
import tuned.consts
if __name__ == '__main__':
shutil.rmtree('/etc/tuned/%s' % (os.path.basename(os.path.abspath(sys.argv[1]))))
shutil.rmtree(
os.path.join(
tuned.consts.USER_PROFILES_DIR,
os.path.basename(os.path.abspath(sys.argv[1]))
))