Copy any missing skel files on package install
This commit is contained in:
parent
d22a608f9e
commit
5e9fa755bc
@ -1,3 +1,9 @@
|
||||
pika-hyprland-settings (1.0.0-99pika2) lunar; urgency=medium
|
||||
|
||||
* First
|
||||
|
||||
-- ferrreo <harderthanfire@gmail.com> Sat, 01 Oct 2022 14:50:00 +0300
|
||||
|
||||
pika-hyprland-settings (1.0.0-99pika1) lunar; urgency=medium
|
||||
|
||||
* First
|
||||
|
@ -7,7 +7,6 @@ Build-Depends: debhelper-compat (= 13)
|
||||
Rules-Requires-Root: no
|
||||
|
||||
Package: pika-hyprland-settings
|
||||
Source: meta-hyprland
|
||||
Architecture: amd64
|
||||
Depends: breeze, pika-theme
|
||||
Conflicts: pika-settings, pika-kde-settings
|
||||
|
@ -4,3 +4,10 @@ set -e
|
||||
|
||||
cp -f /etc/skel/.config/examples/metadata.desktop /usr/share/plasma/desktoptheme/Orchis-dark/
|
||||
cp -f /etc/skel/.config/examples/.profile /etc/skel/
|
||||
|
||||
getent passwd |
|
||||
while IFS=: read username x uid gid gecos home shell
|
||||
do
|
||||
[[ "$username" == root || ! -d "$home" ]] && continue
|
||||
tar -cf - -C /etc/skel . | sudo -Hu "$username" tar --skip-old-files -xf -
|
||||
done
|
Loading…
Reference in New Issue
Block a user