Status: Accepted
begin
true ;
if test [ '-h'; '/etc/rancid/lg.conf' ] then rm [ '/etc/rancid/lg.conf' ]
fi ;
if test [ '-e'; '/etc/rancid/apache.conf' ]
then rm [ '/etc/rancid/apache.conf' ] fi ;
exit success
end
Present utilities: true
, test
, rm
, :
, test
, rm
, :
.
#! /bin/sh
# preinst script for rancid
#
# see: dh_installdeb(1)
set -e
# To remove old bad env link
if [ -h /etc/rancid/lg.conf ]; then
rm /etc/rancid/lg.conf
fi
if [ -e /etc/rancid/apache.conf ]; then
rm /etc/rancid/apache.conf
fi
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
exit 0