graphics/povray: Fix doinst.sh.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-06-20 03:21:45 -04:00 committed by Willy Sudiarto Raharjo
parent 82993ad179
commit 80f89d0543
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 12 additions and 4 deletions

View file

@ -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

View file

@ -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