some fs changes

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2017-12-10 19:52:23 +03:00
parent 565fdae6fd
commit 11977e8130

View File

@ -4,15 +4,15 @@
pkgname='ssm-services-git' pkgname='ssm-services-git'
pkgdesc='Service scripts for ssm' pkgdesc='Service scripts for ssm'
license=( 'BSD' ) license=( 'BSD' )
pkgver=1.2.r59.gd259153 pkgver=r167.e6f85aa
pkgrel=1 pkgrel=4
arch=( 'any' ) arch=( 'any' )
url='https://git.fleshless.org/ssm-services/about' url='https://git.fleshless.org/ssm-services/about'
provides=( 'ssm-services' ) provides=( 'ssm-services' )
conflicts=( 'ssm-services' ) conflicts=( 'ssm-services' )
source=( "${pkgname}::git+https://git.fleshless.org/ssm-services" ) source=( "${pkgname}::git+https://git.fleshless.org/u/spark/ssm-services" )
md5sums=( 'SKIP' ) md5sums=( 'SKIP' )
pkgver() { pkgver() {
@ -29,13 +29,13 @@ pkgver() {
package() { package() {
cd "${srcdir}/${pkgname}" cd "${srcdir}/${pkgname}"
mkdir -pm755 "$pkgdir/etc/ssm/init.d" mkdir -pm755 "$pkgdir/etc/ssm/services"
cp -a init.d/* "$pkgdir/etc/ssm/init.d/" mkdir -pm755 "$pkgdir/usr/share/ssm/services"
cp -a init.d/* "$pkgdir/usr/share/ssm/services"
mkdir -pm755 "$pkgdir/etc/ssm/conf.d" mkdir -pm755 "$pkgdir/etc/ssm/conf.d"
cp -a conf.d/* "$pkgdir/etc/ssm/conf.d/" cp -a conf.d/* "$pkgdir/etc/ssm/conf.d/"
cd "${pkgdir}" cd "${pkgdir}"
backup+=( etc/ssm/init.d/* )
backup+=( etc/ssm/conf.d/* ) backup+=( etc/ssm/conf.d/* )
} }