Codebase list swi-prolog / e5024fcc-8d56-49b7-b1d6-84a46f6e273d/main debian / swi-prolog-nox.postrm
e5024fcc-8d56-49b7-b1d6-84a46f6e273d/main

Tree @e5024fcc-8d56-49b7-b1d6-84a46f6e273d/main (Download .tar.gz)

swi-prolog-nox.postrm @e5024fcc-8d56-49b7-b1d6-84a46f6e273d/mainraw · history · blame

#!/bin/sh

set -e

PACKAGE=swi-prolog

# Create library index if swipl is still there
if which swipl > /dev/null;
   then
       swipl -q -g "make_library_index(swi(library))" -t halt
else
    rm -f /usr/lib/swi-prolog/library/INDEX.pl
fi

#DEBHELPER#