source: MondoRescue/branches/3.2/mindi-busybox/mondo-install.sh@ 3289

Last change on this file since 3289 was 3221, checked in by Bruno Cornec, 10 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
Line 
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
10if [ _"$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)
15else
16 echo "ERROR: DESTDIR variable undefined"
17fi
Note: See TracBrowser for help on using the repository browser.