Accepting request 261734 from home:Ledest:bashisms
fix bashism in btrfsmaintenance-refresh-cron.sh script OBS-URL: https://build.opensuse.org/request/show/261734 OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsmaintenance?expand=0&rev=7
This commit is contained in:
parent
26330aa268
commit
7920979859
12
btrfsmaintenance-0.1-fix-bashisms.patch
Normal file
12
btrfsmaintenance-0.1-fix-bashisms.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -Ndur btrfsmaintenance-0.1/btrfsmaintenance-refresh-cron.sh btrfsmaintenance-0.1-fix-bashisms/btrfsmaintenance-refresh-cron.sh
|
||||||
|
--- btrfsmaintenance-0.1/btrfsmaintenance-refresh-cron.sh 2014-10-29 18:36:45.000000000 +0200
|
||||||
|
+++ btrfsmaintenance-0.1-fix-bashisms/btrfsmaintenance-refresh-cron.sh 2014-11-15 06:52:30.882955935 +0200
|
||||||
|
@@ -31,7 +31,7 @@
|
||||||
|
. /etc/sysconfig/btrfsmaintenance
|
||||||
|
fi
|
||||||
|
|
||||||
|
-function refresh_period() {
|
||||||
|
+refresh_period() {
|
||||||
|
EXPECTED="$1"
|
||||||
|
SCRIPT="$2"
|
||||||
|
echo "Refresh script $SCRIPT for $EXPECTED"
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 15 04:55:00 UTC 2014 - Led <ledest@gmail.com>
|
||||||
|
|
||||||
|
- fix bashism in btrfsmaintenance-refresh-cron.sh script
|
||||||
|
- add patches:
|
||||||
|
* btrfsmaintenance-0.1-fix-bashisms.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 29 00:00:00 CET 2014 - dsterba@suse.cz
|
Wed Oct 29 00:00:00 CET 2014 - dsterba@suse.cz
|
||||||
|
|
||||||
|
@ -24,6 +24,7 @@ License: GPL-2.0
|
|||||||
Group: System/Base
|
Group: System/Base
|
||||||
Url: https://github.com/kdave/btrfsmaintenance
|
Url: https://github.com/kdave/btrfsmaintenance
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
|
Patch0: %{name}-0.1-fix-bashisms.patch
|
||||||
Requires: zypp-plugin-python
|
Requires: zypp-plugin-python
|
||||||
Requires: libzypp(plugin:commit)
|
Requires: libzypp(plugin:commit)
|
||||||
Recommends: cron
|
Recommends: cron
|
||||||
@ -41,6 +42,7 @@ on selected mountpoints or directories.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user