mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
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:
parent
82993ad179
commit
80f89d0543
2 changed files with 12 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue