Reportrcconfpostinst

Status: Accepted

Colis script


begin
  true ;
  case_5747649 := arg 1 ;
  if test [ case_5747649; '='; 'configure' ]
  then if ([ [ '-f'; '/usr/sbin/rcconf'; ']' ] &&
            [ [ '!'; '-f'; '/usr/bin/rcconf'; ']' ])
       then ln [ '-s'; '/usr/sbin/rcconf'; '/usr/bin/rcconf' ] fi
  fi ;
  exit success
end

Original Shell script

#!/bin/sh
#
# This is the postinst script for the Debian GNU/Linux rcconf package
# Written by Atsushi Kamoshida 
#

set -e

case "$1" in
    configure)
        if [ -f /usr/sbin/rcconf ] && [ ! -f /usr/bin/rcconf ]; then
            ln -s /usr/sbin/rcconf /usr/bin/rcconf
        fi
        ;;
    *)
        ;;
esac

exit 0