Move user avatar to kali-defaults

This commit is contained in:
Daniel Ruiz de Alegría 2020-02-25 11:30:29 +01:00
parent 9542bf059f
commit 96fc58d010
8 changed files with 28 additions and 3 deletions

11
.face-root.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 10 KiB

View File

@ -1 +1,2 @@
etc
.face-root.svg usr/share/kali-themes

1
debian/kali-themes.lintian-overrides vendored Normal file
View File

@ -0,0 +1 @@
package-contains-file-in-etc-skel etc/skel/.face*

View File

@ -57,8 +57,9 @@ if [ "$1" = "configure" ]; then
fi
# Configure /root/.face to have a red-background avatar
if [ ! -e /root/.face ]; then
cp /usr/share/icons/Flat-Remix-Blue-Dark/apps/scalable/avatar-root.svg /root/.face
cp /usr/share/kali-themes/.face-root.svg /root/.face
fi
ln -sf /root/.face /root/.face.icon
# Copy grub theme to /boot
mkdir -p /boot/grub/themes/kali
cp -r /usr/share/grub/themes/kali/* /boot/grub/themes/kali/

11
etc/skel/.face Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 10 KiB

1
etc/skel/.face.icon Symbolic link
View File

@ -0,0 +1 @@
.face

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 16 B

View File

@ -0,0 +1 @@
system-users.svg

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 16 B

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 10 KiB