gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Restoring a database under Debian


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] Restoring a database under Debian
Date: Wed, 14 Jan 2015 12:24:51 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On Wed, Jan 14, 2015 at 11:06:57AM +0000, Jim Busser wrote:

> Well, having decided to try a VM, I have
> 
>       Debian wheezy
> 
> running and by using Postgres PGDG packages and apt-get install -t testing 
> was able to get postgresql 9.4 installed and running.
> 
> However when I try to run the restore script
> 
>       address@hidden:~/downloads/gnumed-server.20.0/server$ sh 
> gm-restore_database.sh backup-gnumed_v19-2015-01-12-09-59-25.tar
> 
> I get
> 
>       gm-restore_database.sh: 18: set: Illegal option -o pipefail 

By saying "sh gm-..." you are telling Debian to use the
default shell "sh" (/usr/bin/sh which symlinks to "dash" and
which doesn't support "pipefail" (only bash > 3 does)) rather
than "bash" (as it says inside the script).

Karsten
-- 
GPG key ID E4071346 @ eu.pool.sks-keyservers.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

[Prev in Thread] Current Thread [Next in Thread]