Last change
on this file since 3338 was 3221, checked in by Bruno Cornec, 11 years ago |
- post install script for mindi-busybox placing everything under /usr
|
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
File size:
446 bytes
|
Rev | Line | |
---|
[3221] | 1 | #!/bin/bash
|
---|
| 2 | #
|
---|
| 3 | # $Id$
|
---|
| 4 | #
|
---|
| 5 | # Finalize installation for mondo
|
---|
| 6 | # Now that /bin, /sbin are links to /usr
|
---|
| 7 | # move eveything below /usr to avoid issues
|
---|
| 8 | # this should be backward compatible with earlier distributions
|
---|
| 9 |
|
---|
| 10 | if [ _"$DESTDIR" != _"" ]; then
|
---|
| 11 | mv $DESTDIR/bin/* $DESTDIR/usr/bin
|
---|
| 12 | mv $DESTDIR/sbin/* $DESTDIR/usr/sbin
|
---|
| 13 | rmdir $DESTDIR/bin $DESTDIR/sbin
|
---|
| 14 | (cd $DESTDIR ; ln -sf usr/bin/busybox linuxrc)
|
---|
| 15 | else
|
---|
| 16 | echo "ERROR: DESTDIR variable undefined"
|
---|
| 17 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.