Edit

IABSD.fr/ports/lang/python/2.1/pkg/DEINSTALL-idle

Branch :

  • Show log

    Commit

  • Author : sturm
    Date : 2003-12-13 15:03:07
    Hash : 68a978a2
    Message : new packages -gdbm (GNU DBM support) and -idle (split from -tools) from new maintainer Aleksander Piotrowski <aleksander dot piotrowski at nic dot com dot pl> more to come

  • lang/python/2.1/pkg/DEINSTALL-idle
  • #!/bin/sh
    #
    # $OpenBSD: DEINSTALL-idle,v 1.1 2003/12/13 15:03:08 sturm Exp $
    #
    # Clean up python symlink, if it was ours.
    #
    
    set -e
    PATH=/bin
    PREFIX=${PKG_PREFIX:-/usr/local}
    
    if [ ${PREFIX}/bin/idle -ef ${PREFIX}/bin/idle2.1 ]
    then
    	rm -f ${PREFIX}/bin/idle
    fi