Permalink
Browse files

added files

  • Loading branch information...
1 parent c4a79aa commit cee4d6910737e04c2e01dbb0cc65c0c7622eb9ff FireCore, LLC committed Jan 14, 2011
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
@@ -0,0 +1,25 @@
+#!/bin/bash
+shopt -s extglob
+
+function stash() {
+ src=$1
+ dst=var/stash/${src##*/}
+ mv "${src}" "${dst}"
+ dst=${src//+([A-Za-z])/..}/${dst}
+ ln -s "${dst#../}" "${src}"
+}
+
+mnt=$1
+cd "${mnt}"
+
+mkdir -p var/stash
+mkdir -p usr/include
+
+stash Applications
+stash Library/Ringtones
+stash Library/Wallpaper
+stash usr/bin
+stash usr/include
+stash usr/lib/pam
+stash usr/libexec
+stash usr/share

0 comments on commit cee4d69

Please sign in to comment.