mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
8 lines
201 B
Text
8 lines
201 B
Text
|
post_install() {
|
||
|
if [[ -f /etc/libvirt/qemu/networks/default.xml ]]
|
||
|
then
|
||
|
UUID=$(/usr/bin/uuidgen)
|
||
|
sed -i "s|<uuid></uuid>|<uuid>$UUID</uuid>|" /etc/libvirt/qemu/networks/default.xml
|
||
|
fi
|
||
|
}
|