Fix build error
This commit is contained in:
parent
cb71ec9fd9
commit
85ed5f98af
11
template
11
template
|
@ -26,6 +26,13 @@ do_install() {
|
|||
vmkdir /usr/share/doc/mullvad-vpn
|
||||
vmkdir /usr/share/zsh/site-functions
|
||||
|
||||
vmkdir /etc/sv/mullvad
|
||||
echo '#!/bin/sh' > ${DESTDIR}/etc/sv/mullvad/run.sh
|
||||
echo 'exec 2>&1' >> ${DESTDIR}/etc/sv/mullvad/run.sh
|
||||
echo 'sv check dbus > /dev/null || exit 1' >> ${DESTDIR}/etc/sv/mullvad/run.sh
|
||||
echo 'exec /usr/bin/mullvad-daemon -v --disable-stdout-timestamps' >> ${DESTDIR}/etc/sv/mullvad/run.sh
|
||||
chmod 755 ${DESTDIR}/etc/sv/mullvad/run.sh
|
||||
|
||||
vcopy usr/bin/* /usr/bin/
|
||||
vcopy usr/lib/systemd/system/* /usr/lib/systemd/system/
|
||||
vcopy usr/share/icons/hicolor/* /usr/share/icons/hicolor/
|
||||
|
@ -36,8 +43,8 @@ do_install() {
|
|||
|
||||
vmkdir /usr/share/zsh/site-functions
|
||||
|
||||
mkdir -p ${DESTDIR}/opt/Mullvad\ VPN
|
||||
cp -a ${wrksrc}/opt/Mullvad\ VPN/* ${DESTDIR}/opt/Mullvad\ VPN/
|
||||
mkdir -p ${DESTDIR}/opt/MullvadVPN
|
||||
cp -a ${wrksrc}/opt/MullvadVPN/* ${DESTDIR}/opt/MullvadVPN/
|
||||
}
|
||||
|
||||
pkg_install() {
|
||||
|
|
Loading…
Reference in New Issue