Files
RedBear-OS/local/recipes/kde/sddm/remove-x11user-helper.py
T
vasilito ffbe098ef8 config: add tlc to redbear-mini and redbear-full; create recipe symlink
TLC (Twilight Commander) was missing from both ISO configs. Added
tlc = {} to [packages] in redbear-mini.toml and redbear-full.toml.
Created missing symlink: recipes/tui/tlc -> ../../local/recipes/tui/tlc.
2026-06-19 11:47:25 +03:00

17 lines
391 B
Python

#!/usr/bin/env python3
import re, sys
path = sys.argv[1]
with open(path) as f:
c = f.read()
c = re.sub(
r'\nadd_executable\(sddm-helper-start-x11user.*?\ninstall\(TARGETS sddm-helper-start-x11user[^)]*\)',
'', c, flags=re.DOTALL
)
c = c.replace(
' target_link_libraries(sddm-helper-start-x11user ${JOURNALD_LIBRARIES})\n', ''
)
with open(path, 'w') as f:
f.write(c)