[scripts] inner_source_chroot_update: checking /proc and /dev/pts here is useless

This commit is contained in:
Fabio Erculiani 2011-09-05 07:44:21 +02:00
parent 9583ba9b22
commit d8438826eb

View File

@ -1,16 +1,5 @@
#!/bin/bash
# create /proc if it doesn't exist
# rsync doesn't copy it
if [ ! -d "/proc" ]; then
mkdir /proc
touch /proc/.keep
fi
if [ ! -d "/dev/pts" ]; then
mkdir /dev/pts
touch /dev/pts/.keep
fi
source /etc/profile
env-update
source /etc/profile