relative links

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2018-01-10 15:05:14 +03:00
parent c6973f7ce7
commit 8028e3caac

View File

@ -4,7 +4,7 @@ pkgdesc='Package for sysvinit compatibility'
pkgname=( 'sinit-sysvcompat' 'sinit-tools' ) pkgname=( 'sinit-sysvcompat' 'sinit-tools' )
license=( 'ISC' ) license=( 'ISC' )
pkgver=1.0.6 pkgver=1.0.6
pkgrel=4 pkgrel=5
arch=( 'any' ) arch=( 'any' )
url='https://git.fleshless.org/sinit-tools' url='https://git.fleshless.org/sinit-tools'
@ -16,9 +16,9 @@ package_sinit-sysvcompat() {
depends=( 'sinit' 'sinit-tools' ) depends=( 'sinit' 'sinit-tools' )
mkdir -pm755 "${pkgdir}/usr/bin" mkdir -pm755 "${pkgdir}/usr/bin"
ln -s /usr/bin/sinit "${pkgdir}/usr/bin/init" ln -s sinit "${pkgdir}/usr/bin/init"
ln -s /usr/bin/shutdown "${pkgdir}/usr/bin/reboot" ln -s shutdown "${pkgdir}/usr/bin/reboot"
ln -s /usr/bin/shutdown "${pkgdir}/usr/bin/poweroff" ln -s shutdown "${pkgdir}/usr/bin/poweroff"
} }
package_sinit-tools() { package_sinit-tools() {