Changes between Initial Version and Version 5 of Ticket #8401


Ignore:
Timestamp:
Nov 18, 2007, 8:18:44 PM (16 years ago)
Author:
jmpp@…
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8401

    • Property Summary changed from darwinports installer package postflight tweak to RFE: macports installer package postflight tweak
    • Property Priority changed from Expected to Normal
    • Property Milestone changed from to MacPorts base bugs
    • Property Type changed from defect to enhancement
    • Property Severity changed from normal to trivial
  • Ticket #8401 – Description

    initial v5  
    33Instead of doing this:
    44
     5{{{
    56BINPATH=/opt/local/bin
    67SBINPATH=/opt/local/sbin
     
    1213
    1314if grep $BINPATH $TMP >/dev/null 2>&1; then
    14 
     15}}}
    1516
    1617maybe you can do something like:
    1718
     19{{{
    1820if $SHELL -c "/usr/bin/printenv PATH"|grep -c $BINPATH >/dev/null; then
    1921        echo "You already have the right PATH - l337!"
    2022else
     23}}}
    2124
    2225most people would probably never run into a failure case.. but why create a temp file if you dont have to..