mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 15:41:09 +00:00
don't create symlinks if they already exist
This commit is contained in:
parent
4c6b3cbe98
commit
43c13b690f
@ -241,9 +241,9 @@ echo set debconf/priority critical | debconf-communicate
|
||||
# Install basic build tool set, trying to match buildd
|
||||
apt-get -y install $BUILD_PKGS
|
||||
# Set up expected /dev entries
|
||||
ln -s /proc/self/fd/0 /dev/stdin
|
||||
ln -s /proc/self/fd/1 /dev/stdout
|
||||
ln -s /proc/self/fd/2 /dev/stderr
|
||||
if [ ! -r /dev/stdin ]; then ln -s /proc/self/fd/0 /dev/stdin; fi
|
||||
if [ ! -r /dev/stdout ]; then ln -s /proc/self/fd/1 /dev/stdout; fi
|
||||
if [ ! -r /dev/stderr ]; then ln -s /proc/self/fd/2 /dev/stderr; fi
|
||||
# Clean up
|
||||
apt-get clean
|
||||
rm /finish.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user