|
Mantis - alternatives
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 4775 | regular use | major | always | 2011-05-25 16:44 | 2011-05-25 21:22 |
|
|
|||||
| Reporter: | jcraig | Platform: | |||
| Assigned To: | OS: | ||||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | |||
| Product Build: | Resolution: | unable to reproduce | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | |||
|
|
|||||
| Summary: | 0004775: MANUALDIR not set correctly in alternatives script | ||||
| Description: |
Set to: MANUALDIR=/etc/opt/etc/alternatives #manual override location believe it should be: MANUALDIR=/etc/opt/csw/etc/alternatives #manual override location Further, this directory doesn't appear to be created my the installation of CSWalternatives so I would further suggest changing the lines in function set_manual_prio to create if necessary. While your at it you may wish to protect the rm from throwing an error if it tries to remove a non-existent check file: $DEBUG found match for $1: $check if [ ! -d $MANUALDIR ]; then mkdir -p $MANUALDIR fi if [ -e $MANUALDIR/$1 ]; then rm -f $MANUALDIR/$1 fi ln -s $check $MANUALDIR/$1 set_alternative $1 } Thanks, Jon |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
|
|
|||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2011-05-25 16:44 | jcraig | New Issue | |||
| 2011-05-25 21:22 | phil | Note Added: 0009077 | |||
| 2011-05-25 21:22 | phil | Status | new => closed | ||
| 2011-05-25 21:22 | phil | Resolution | open => unable to reproduce | ||
| Notes | |||||
|
|
|||||
|
|
||||