diff options
| author | Nippy <nippy@Nippy-Mac-mini.local> | 2026-09-19 22:28:12 +0200 |
|---|---|---|
| committer | Nippy <nippy@Nippy-Mac-mini.local> | 2026-09-19 22:28:12 +0200 |
| commit | c5ca121fde65cfa5c1729f779cf6b0f47b6ebb21 (patch) | |
| tree | ade5ca729f51cb849a6ec39ed45e21a9d8aa1af8 /raveos-plasma-theme/raveos-plasma-apply.sh | |
| parent | a95908de8949035c4b101500665cbddf7ac44e94 (diff) | |
| download | RaveOS-PKGBUILD-c5ca121fde65cfa5c1729f779cf6b0f47b6ebb21.tar.gz RaveOS-PKGBUILD-c5ca121fde65cfa5c1729f779cf6b0f47b6ebb21.zip | |
working fix/test
Diffstat (limited to 'raveos-plasma-theme/raveos-plasma-apply.sh')
| -rwxr-xr-x | raveos-plasma-theme/raveos-plasma-apply.sh | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/raveos-plasma-theme/raveos-plasma-apply.sh b/raveos-plasma-theme/raveos-plasma-apply.sh index 20e104a..ed9213b 100755 --- a/raveos-plasma-theme/raveos-plasma-apply.sh +++ b/raveos-plasma-theme/raveos-plasma-apply.sh @@ -199,10 +199,20 @@ while IFS=: read -r user _ uid gid _ home shell; do ensure_bashrc_hook "${home}/.bashrc" echo "1" > "${home}/.config/raveos/plasma-migrated" - chown -R "${uid}:${gid}" \ - "${home}/.config" \ - "${home}/.local" \ - "${home}/.bashrc" 2>/dev/null || true + chown "${uid}:${gid}" \ + "${home}/.bashrc" \ + "${home}/.config/konsolerc" \ + "${home}/.config/kwalletrc" \ + "${home}/.config/kdeglobals" \ + "${home}/.config/plasmarc" 2>/dev/null || true + for d in \ + .config/kitty \ + .config/fastfetch \ + .config/autostart \ + .config/raveos \ + .local/share/konsole; do + [[ -e "${home}/${d}" ]] && chown -R "${uid}:${gid}" "${home}/${d}" 2>/dev/null || true + done done < /etc/passwd |