Commit 410a00d4 authored by Mikhail Efremov's avatar Mikhail Efremov Committed by Michael Shigorin

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.
parent e307a3db
#!/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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment