update hooks.py to remove calamares-install-debian.desktop from /usr/share/applications

This commit is contained in:
manuel 2024-05-25 11:57:45 +00:00
parent feb669a476
commit 7681b48f04
1 changed files with 2 additions and 1 deletions

View File

@ -177,7 +177,8 @@ def final_cleanup():
Followed by "\" , add files to be removed, one per line.
"""
files_to_remove = [ "/usr/bin/install-debian",
"/usr/share/applications/min.desktop"
"/usr/share/applications/min.desktop",
"/usr/share/applications/calamares-install-debian.desktop"
]
for file_path in files_to_remove:
if os.path.exists(file_path):