Merge pull request #757 from ferdnyc/patch-1
GUI: Fix the profile deleter script
This commit is contained in:
commit
c3cab598c0
1 changed files with 7 additions and 1 deletions
|
|
@ -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]))
|
||||
))
|
||||
|
|
|
|||
Loading…
Reference in a new issue