Browse Source
graphics/povray: Fix doinst.sh.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/202/head
B. Watson
2 years ago
committed by
Willy Sudiarto Raharjo
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with
12 additions and
4 deletions
-
graphics/povray/doinst.sh
-
graphics/povray/povray.SlackBuild
|
|
@ -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 |
|
|
@ -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 |
|
|
|