*** empty log message ***
This commit is contained in:
parent
19534a8a96
commit
686b998c87
@ -398,15 +398,7 @@ nohome="0"
|
|||||||
|
|
||||||
homesize=""
|
homesize=""
|
||||||
if [ ! "$auto" = r ]
|
if [ ! "$auto" = r ]
|
||||||
then homesize="`devsize /dev/$home` / 2 / 1024"
|
then
|
||||||
if [ "$homesize" -gt "$maxhome" ]
|
|
||||||
then
|
|
||||||
echo "Sorry, but your /home is too big ($homesize MB) to leave enough"
|
|
||||||
echo "space on the rest of the partition ($devsizemb MB) for your"
|
|
||||||
echo "selected installation size ($TOTALMB MB)."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
echo ""
|
echo ""
|
||||||
echo " --- Step 6: Select the size of /home ----------------------------------"
|
echo " --- Step 6: Select the size of /home ----------------------------------"
|
||||||
while [ -z "$homesize" ]
|
while [ -z "$homesize" ]
|
||||||
@ -444,6 +436,14 @@ echo " --- Step 6: Select the size of /home ----------------------------------"
|
|||||||
homemb="$homesize MB"
|
homemb="$homesize MB"
|
||||||
homesize="`expr $homesize '*' 1024 '*' 2`"
|
homesize="`expr $homesize '*' 1024 '*' 2`"
|
||||||
else
|
else
|
||||||
|
homesize="`devsize /dev/$home` / 2 / 1024"
|
||||||
|
if [ "$homesize" -gt "$maxhome" ]
|
||||||
|
then
|
||||||
|
echo "Sorry, but your /home is too big ($homesize MB) to leave enough"
|
||||||
|
echo "space on the rest of the partition ($devsizemb MB) for your"
|
||||||
|
echo "selected installation size ($TOTALMB MB)."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
# Homesize unchanged (reinstall)
|
# Homesize unchanged (reinstall)
|
||||||
homesize=exist
|
homesize=exist
|
||||||
homemb="current size"
|
homemb="current size"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user