From 7ffd0b3f4996196235dc79b1937c1da3ead53b75408ed9203613d309434fa617 Mon Sep 17 00:00:00 2001 From: Axel Braun Date: Mon, 27 Aug 2018 14:08:26 +0000 Subject: [PATCH] - Adding a dummy executable called 'gnuhealth' with some help text OBS-URL: https://build.opensuse.org/package/show/Application:ERP:GNUHealth:Factory/gnuhealth?expand=0&rev=19 --- gnuhealth | 43 ++++++++++++++++++++++++++++++++++++++++ gnuhealth.changes | 5 +++++ gnuhealth.spec | 2 ++ openSUSE-gnuhealth-setup | 2 ++ 4 files changed, 52 insertions(+) create mode 100644 gnuhealth diff --git a/gnuhealth b/gnuhealth new file mode 100644 index 0000000..398b3d9 --- /dev/null +++ b/gnuhealth @@ -0,0 +1,43 @@ +#!/bin/bash + +# GNU Health dummy program - for thos who dont read manuals + +############################################################################## +# +# GNU Health dummy +# +# Copyright (C) 2018 Axel Braun +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +############################################################################## + +cat << EOF + +You have installed GNU Health and no idea how it should work. +(Otherwise you would not see this message) + +How about reading a fine manual? You find it at +/usr/share/doc/packages/gnuhealth/GNUHealth.README.SUSE + +Or see the full documentation at +https://en.wikibooks.org/wiki/GNU_Health + +Want to start immediately with some configuration? +Run openSUSE-gnuhealth-setup + +Whatever you do...have fun! + +EOF + exit 0 diff --git a/gnuhealth.changes b/gnuhealth.changes index c05e19b..5189049 100644 --- a/gnuhealth.changes +++ b/gnuhealth.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 27 14:07:12 UTC 2018 - axel.braun@gmx.de + +- Adding a dummy executable called 'gnuhealth' with some help text + ------------------------------------------------------------------- Tue Jul 17 07:19:15 UTC 2018 - axel.braun@gmx.de diff --git a/gnuhealth.spec b/gnuhealth.spec index cf20906..0654016 100644 --- a/gnuhealth.spec +++ b/gnuhealth.spec @@ -35,6 +35,7 @@ Source2: gnuhealth-control Source3: gnuhealth.service Source4: gnuhealth-webdav@.service Source5: openSUSE-gnuhealth-setup +Source6: gnuhealth BuildArch: noarch @@ -120,6 +121,7 @@ done mkdir -p -m 755 %{buildroot}%{_bindir} install -p -m 755 gnuhealth-control %{buildroot}%{_bindir}/gnuhealth-control install -p -m 755 %{S:5} %{buildroot}%{_bindir}/openSUSE-gnuhealth-setup +install -p -m 755 %{S:6} %{buildroot}%{_bindir}/gnuhealth mkdir -p $RPM_BUILD_ROOT%{_unitdir} install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_unitdir}/%{name}.service diff --git a/openSUSE-gnuhealth-setup b/openSUSE-gnuhealth-setup index ce67a6a..5ce84f0 100644 --- a/openSUSE-gnuhealth-setup +++ b/openSUSE-gnuhealth-setup @@ -8,6 +8,8 @@ # GNU Health Installer for openSUSE # # Copyright (C) 2018 Axel Braun + +# inspired by gnuhealth-control (C) 2018 Luis Falcon # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by