diff options
author | B. Watson <urchlay@slackware.uk> | 2023-06-20 03:21:45 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-06-23 07:48:05 +0700 |
commit | 80f89d05435c338cbcc98bf0cea4e57a6ca74201 (patch) | |
tree | d4cd0dda896cf49f146dc71ddbe8bc9848113929 | |
parent | 82993ad179d113777a36bd832fb11469466f660d (diff) |
graphics/povray: Fix doinst.sh.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | graphics/povray/doinst.sh | 8 | ||||
-rw-r--r-- | graphics/povray/povray.SlackBuild | 8 |
2 files changed, 12 insertions, 4 deletions
diff --git a/graphics/povray/doinst.sh b/graphics/povray/doinst.sh index 55cd6f9e02d9..f374d1b79a6b 100644 --- a/graphics/povray/doinst.sh +++ b/graphics/povray/doinst.sh @@ -11,10 +11,10 @@ config() { # Otherwise, we leave the .new copy for the admin to consider... } -if [ -e /etc/povray/@VERSION@/povray.conf.new ]; then - config /etc/povray/@VERSION@/povray.conf.new +if [ -e etc/povray/@VERSION@/povray.conf.new ]; then + config etc/povray/@VERSION@/povray.conf.new fi -if [ -e /etc/povray/@VERSION@/povray.ini.new ]; then - config /etc/povray/@VERSION@/povray.ini.new +if [ -e etc/povray/@VERSION@/povray.ini.new ]; then + config etc/povray/@VERSION@/povray.ini.new fi diff --git a/graphics/povray/povray.SlackBuild b/graphics/povray/povray.SlackBuild index 546e6e2b08b7..71cbf2e7754b 100644 --- a/graphics/povray/povray.SlackBuild +++ b/graphics/povray/povray.SlackBuild @@ -25,6 +25,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230620 bkw: currently, sbopkglint complains: +# Running test: 40-newconfig... +# --- doinst.sh doesn't handle .new config files: +# -rw-r--r-- 1 root root 4369 Jun 20 00:19 ./etc/povray/3.8/povray.conf.new +# -rw-r--r-- 1 root root 2494 Jun 20 00:19 ./etc/povray/3.8/povray.ini.new +# ...but ignore it, because the doinst.sh does handle the config files, +# it's just that sbopkglint isn't (yet?) smart enough to understand it. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=povray |