Accepting request 142125 from home:vjt:ifad
Hi, the basename "-s" option is not available on OpenSUSE 11's coreutils. I have changed the initscript to use the historical basename NAME [SUFFIX] syntax, that works on both 11 and 12. Thanks! ~Marcello OBS-URL: https://build.opensuse.org/request/show/142125 OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=35
This commit is contained in:
parent
1f46b42823
commit
91d3bd7d79
@ -1,5 +1,5 @@
|
||||
--- utils/redis_init_script.orig 2012-07-31 16:48:33.000000000 +0200
|
||||
+++ utils/redis_init_script 2012-11-08 17:36:19.000000000 +0100
|
||||
+++ utils/redis_init_script 2012-11-20 15:05:55.000000000 +0100
|
||||
@@ -1,42 +1,131 @@
|
||||
#!/bin/sh
|
||||
+
|
||||
@ -50,7 +50,7 @@
|
||||
+ $command $2
|
||||
+ else
|
||||
+ for file in /etc/redis/*.conf; do
|
||||
+ $command `basename -s .conf "$file"`
|
||||
+ $command `basename "$file" .conf`
|
||||
+ done
|
||||
+ fi
|
||||
+}
|
||||
|
Loading…
Reference in New Issue
Block a user