mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-15 10:28:30 +00:00

systemd will automatically create these directories if missing and also will set permissions accordingly on them.
15 lines
409 B
Bash
Executable File
15 lines
409 B
Bash
Executable File
#!/bin/sh
|
|
if [ -z $MESON_INSTALL_PREFIX ]; then
|
|
echo 'This is meant to be ran from Meson only!'
|
|
exit 1
|
|
fi
|
|
|
|
SYSTEMDUNITDIR=$1
|
|
LOCALSTATEDIR=$2
|
|
|
|
#if [ -z $DESTDIR ]; then
|
|
echo 'Updating systemd deps'
|
|
mkdir -p ${DESTDIR}${SYSTEMDUNITDIR}/system-update.target.wants
|
|
ln -sf ../fwupd-offline-update.service ${DESTDIR}${SYSTEMDUNITDIR}/system-update.target.wants/fwupd-offline-update.service
|
|
#fi
|