live: Install /etc/*-release files if needed
Seems some other branding-*-release can be installed in live chroot and post of needed branding-*-release package don't copy these files.
This commit is contained in:
parent
e307a3dbdb
commit
410a00d40c
7
features.in/live/live/image-scripts.d/65-os-release
Executable file
7
features.in/live/live/image-scripts.d/65-os-release
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
# Install /etc/*-release files on live if needed
|
||||
if [ -d /usr/share/branding-data-current ] && \
|
||||
! [ -e /etc/altlinux-release ] && \
|
||||
! [ -e /etc/os-release ]; then
|
||||
cp -a /usr/share/branding-data-current/release/*-release /etc/
|
||||
fi
|
Loading…
Reference in New Issue
Block a user