Browse Source

remove proot build process

master
Markus Bergholz 6 years ago
parent
commit
80ef9228e5
1 changed files with 0 additions and 17 deletions
  1. +0
    -17
      createchroot

+ 0
- 17
createchroot View File

@@ -32,19 +32,6 @@ function sudo_make_arch(){

}

function make_proot(){

current=$(pwd)
mkdir -p ~/.bin/proot/ && cd ~/.bin/proot/
git clone https://github.com/cedric-vincent/PRoot.git /tmp/proot/
make -f /tmp/proot/src/GNUmakefile
echo "PATH=$PATH:~/.bin/proot/" >> ~/.bashrc
echo "export PATH" >> ~/.bashrc
. ~/.bashrc
rm -rf /tmp/proot/
cd $current

}

if (("$#" == 1)); then

@@ -53,9 +40,6 @@ if (("$#" == 1)); then
# user + debian-based
linux=$(lsb_release -c|awk {'print $2'})

if [[ "$1" = "proot" ]]; then
make_proot
else
folder=$1
case "$linux" in
"wheezy") make_debian $linux $folder ;;
@@ -64,7 +48,6 @@ if (("$#" == 1)); then
"raring") make_ubuntu $linux $folder ;;
*) printf "Unknown or unsupported linux\n" ;;
esac
fi
else
folder=$1
if which pacstrap >/dev/null; then


Loading…
Cancel
Save