mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-23 18:14:54 +08:00
temp workaround for bash in hibernate script
This commit is contained in:
parent
932f008f4d
commit
3da9f74082
@ -1,12 +1,11 @@
|
|||||||
#
|
#
|
||||||
# Core Packages for Chakra, part of chakra-project.org
|
# Core Packages for Chakra, part of chakra-project.org
|
||||||
#
|
#
|
||||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
# maintainer abveritas@chakra-project.org
|
||||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
||||||
|
|
||||||
pkgname=hibernate-script
|
pkgname=hibernate-script
|
||||||
pkgver=2.0
|
pkgver=2.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Set of scripts for managing tux on ice, hibernation and suspend to RAM"
|
pkgdesc="Set of scripts for managing tux on ice, hibernation and suspend to RAM"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="http://www.tuxonice.net"
|
url="http://www.tuxonice.net"
|
||||||
@ -24,12 +23,12 @@ source=(http://tuxonice.net/files/${pkgname}-${pkgver}.tar.gz
|
|||||||
hibernate.rc)
|
hibernate.rc)
|
||||||
md5sums=('5c21770afbae503450e3c4a5502bf29d'
|
md5sums=('5c21770afbae503450e3c4a5502bf29d'
|
||||||
'09e0d47e0d46d94da64c26a12a29afee'
|
'09e0d47e0d46d94da64c26a12a29afee'
|
||||||
'5d7e83902a00bf72b1de97a5450a558e')
|
'93d5794a3c82df78b8e685647d4c643b')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd ${srcdir}/${pkgname}-${pkgver}
|
cd ${srcdir}/${pkgname}-${pkgver}
|
||||||
# Fix scriptlets to work properly with Chakra GNU/Linux
|
# Fix scriptlets to work properly with Chakra GNU/Linux
|
||||||
patch -Np1 -i ${srcdir}/${pkgname}-${pkgver}-chakra.patch
|
patch -p1 -i ${srcdir}/${pkgname}-${pkgver}-chakra.patch
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
. /etc/rc.conf
|
. /etc/rc.conf
|
||||||
. /etc/rc.d/functions
|
. /etc/rc.d/functions
|
||||||
|
Loading…
Reference in New Issue
Block a user