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
|
pika-hyprland-settings (1.0.0-99pika1) lunar; urgency=medium
|
||||||
|
|
||||||
* First
|
* First
|
||||||
|
@ -7,7 +7,6 @@ Build-Depends: debhelper-compat (= 13)
|
|||||||
Rules-Requires-Root: no
|
Rules-Requires-Root: no
|
||||||
|
|
||||||
Package: pika-hyprland-settings
|
Package: pika-hyprland-settings
|
||||||
Source: meta-hyprland
|
|
||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Depends: breeze, pika-theme
|
Depends: breeze, pika-theme
|
||||||
Conflicts: pika-settings, pika-kde-settings
|
Conflicts: pika-settings, pika-kde-settings
|
||||||
|
@ -3,4 +3,11 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
cp -f /etc/skel/.config/examples/metadata.desktop /usr/share/plasma/desktoptheme/Orchis-dark/
|
cp -f /etc/skel/.config/examples/metadata.desktop /usr/share/plasma/desktoptheme/Orchis-dark/
|
||||||
cp -f /etc/skel/.config/examples/.profile /etc/skel/
|
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