Changes between Initial Version and Version 5 of Ticket #8401
- Timestamp:
- Nov 18, 2007, 8:18:44 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #8401
-
Property
Summary
changed from
darwinports installer package postflight tweak
toRFE: macports installer package postflight tweak
-
Property
Priority
changed from
Expected
toNormal
-
Property
Milestone
changed from
to
MacPorts base bugs
-
Property
Type
changed from
defect
toenhancement
-
Property
Severity
changed from
normal
totrivial
-
Property
Summary
changed from
-
Ticket #8401 – Description
initial v5 3 3 Instead of doing this: 4 4 5 {{{ 5 6 BINPATH=/opt/local/bin 6 7 SBINPATH=/opt/local/sbin … … 12 13 13 14 if grep $BINPATH $TMP >/dev/null 2>&1; then 14 15 }}} 15 16 16 17 maybe you can do something like: 17 18 19 {{{ 18 20 if $SHELL -c "/usr/bin/printenv PATH"|grep -c $BINPATH >/dev/null; then 19 21 echo "You already have the right PATH - l337!" 20 22 else 23 }}} 21 24 22 25 most people would probably never run into a failure case.. but why create a temp file if you dont have to..