fwupd/meson_post_install.sh
Richard Hughes 57746cb839 Add the Meson build system as an alternate to autotools
Automake and autoconf are impossible to fully understand and Meson now provides
everything we need for a much smaller, faster, and more understandable build.

See http://mesonbuild.com/ for more information.
2017-04-12 16:35:18 +01:00

12 lines
417 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
#if [ -z $DESTDIR ]; then
echo 'Updating systemd deps'
mkdir -p $DESTDIR/$MESON_INSTALL_PREFIX/lib/systemd/system/system-update.target.wants
ln -sf ../fwupd-offline-update.service $DESTDIR/$MESON_INSTALL_PREFIX/lib/systemd/system/system-update.target.wants/fwupd-offline-update.service
#fi