diff --git a/common/install-glibc.sh b/common/install-glibc.sh index 6a171e5..42dd6fd 100755 --- a/common/install-glibc.sh +++ b/common/install-glibc.sh @@ -20,8 +20,12 @@ pushd glibc/build make -j 4 make -j 4 install popd -rm /usr/include/xlocale.h -ln -s /usr/include/locale.h /usr/include/xlocale.h +[ ! -e /usr/include/xlocale.h ] || { \ + rm /usr/include/xlocale.h \ + ln -s /usr/include/locale.h /usr/include/xlocale.h \ +} apt remove -y gawk bison texinfo gcc apt autoremove -y rm -rf glibc + +} \ No newline at end of file