Reportrushpostinst

Status: Accepted

Colis script


begin
  true ;
  EXECUTABLE := '/usr/sbin/rush' ;
  LIBDIR := '/var/lib/rush' ;
  if [ [ arg 1; '='; 'configure'; ']' ]
  then touch [ split LIBDIR '/utmp'; split LIBDIR '/wtmp' ] fi
end

Original Shell script

#!/bin/sh

set -e

EXECUTABLE=/usr/sbin/rush
LIBDIR=/var/lib/rush

if [ "$1" = "configure" ]; then
  # Accounting needs to be done, initiate these.
  touch $LIBDIR/utmp $LIBDIR/wtmp
fi