From 3da9f74082cdb12e737d98f81437ddd6be47a15d Mon Sep 17 00:00:00 2001 From: abveritas Date: Fri, 11 May 2012 20:16:36 +0000 Subject: [PATCH] temp workaround for bash in hibernate script --- hibernate-script/PKGBUILD | 9 ++++----- hibernate-script/hibernate.rc | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/hibernate-script/PKGBUILD b/hibernate-script/PKGBUILD index 67998c684..791ca54f5 100644 --- a/hibernate-script/PKGBUILD +++ b/hibernate-script/PKGBUILD @@ -1,12 +1,11 @@ # # Core Packages for Chakra, part of chakra-project.org # -# maintainer (i686): Phil Miller -# maintainer (x86_64): Manuel Tortosa +# maintainer abveritas@chakra-project.org pkgname=hibernate-script pkgver=2.0 -pkgrel=1 +pkgrel=2 pkgdesc="Set of scripts for managing tux on ice, hibernation and suspend to RAM" arch=('any') url="http://www.tuxonice.net" @@ -24,12 +23,12 @@ source=(http://tuxonice.net/files/${pkgname}-${pkgver}.tar.gz hibernate.rc) md5sums=('5c21770afbae503450e3c4a5502bf29d' '09e0d47e0d46d94da64c26a12a29afee' - '5d7e83902a00bf72b1de97a5450a558e') + '93d5794a3c82df78b8e685647d4c643b') build() { cd ${srcdir}/${pkgname}-${pkgver} # 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() { diff --git a/hibernate-script/hibernate.rc b/hibernate-script/hibernate.rc index 6a326a303..330d50496 100644 --- a/hibernate-script/hibernate.rc +++ b/hibernate-script/hibernate.rc @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash . /etc/rc.conf . /etc/rc.d/functions