87 |
echo "You can continue downloading the file or restart it" |
echo "You can continue downloading the file or restart it" |
88 |
echo -n "Continue downloading? (y/[n]): " |
echo -n "Continue downloading? (y/[n]): " |
89 |
read ans |
read ans |
90 |
if [ "$ans" = "y" ];then |
if [ "$ans" = "y" ] || [ "$ans" = "Y" ];then |
91 |
curlContinue=1 |
curlContinue=1 |
92 |
else |
else |
93 |
rm -f test.md5sum 2>/dev/null |
rm -f test.md5sum 2>/dev/null |
101 |
echo "download is complete" |
echo "download is complete" |
102 |
echo -n "Continue downloading? (y/[n]): " |
echo -n "Continue downloading? (y/[n]): " |
103 |
read ans |
read ans |
104 |
if [ "$ans" = "y" ];then |
if [ "$ans" = "y" ] || [ "$ans" = "Y" ];then |
105 |
curlContinue=1 |
curlContinue=1 |
106 |
fi |
fi |
107 |
fi |
fi |
120 |
echo "Integrity check on systemrescuecd-x86-"$sysVersion".iso failed!!!" |
echo "Integrity check on systemrescuecd-x86-"$sysVersion".iso failed!!!" |
121 |
echo -n "Do you want to delete this file? ([y]/n): " |
echo -n "Do you want to delete this file? ([y]/n): " |
122 |
read ans |
read ans |
123 |
if [ "$ans" != "n" ];then |
if [ "$ans" = "y" ] || [ "$ans" = "Y" ];then |
124 |
rm -f systemrescuecd-x86-"$sysVersion".iso 2>/dev/null && echo "File deleted..." || echo "****** Error deleting file!!! ****** |
rm -f systemrescuecd-x86-"$sysVersion".iso 2>/dev/null && echo "File deleted..." || echo "****** Error deleting file!!! ****** |
125 |
Please delete systemrescuecd-x86-"$sysVersion".iso manually" |
Please delete systemrescuecd-x86-"$sysVersion".iso manually" |
126 |
fi |
fi |
153 |
echo "You can continue downloading the file or restart it" |
echo "You can continue downloading the file or restart it" |
154 |
echo -n "Continue downloading? (y/[n]): " |
echo -n "Continue downloading? (y/[n]): " |
155 |
read ans |
read ans |
156 |
if [ "$ans" = "y" ];then |
if [ "$ans" = "y" ] || [ "$ans" = "Y" ];then |
157 |
curlContinue=1 |
curlContinue=1 |
158 |
else |
else |
159 |
rm -f test.md5sum 2>/dev/null |
rm -f test.md5sum 2>/dev/null |
172 |
echo "download is complete" |
echo "download is complete" |
173 |
echo -n "Continue downloading? (y/[n]): " |
echo -n "Continue downloading? (y/[n]): " |
174 |
read ans |
read ans |
175 |
if [ "$ans" = "y" ];then |
if [ "$ans" = "y" ] || [ "$ans" = "Y" ];then |
176 |
curlContinue=1 |
curlContinue=1 |
177 |
fi |
fi |
178 |
fi |
fi |
212 |
echo "Integrity check on clonezilla-live-"$clonVersion"-"$clonType".iso failed!!!" |
echo "Integrity check on clonezilla-live-"$clonVersion"-"$clonType".iso failed!!!" |
213 |
echo -n "Do you want to delete this file? ([y]/n): " |
echo -n "Do you want to delete this file? ([y]/n): " |
214 |
read ans |
read ans |
215 |
if [ "$ans" != "n" ];then |
if [ "$ans" = "y" ] || [ "$ans" = "Y" ];then |
216 |
rm -f clonezilla-live-"$clonVersion"-"$clonType".iso 2>/dev/null && echo "File deleted..." || echo "****** Error deleting file!!! ****** |
rm -f clonezilla-live-"$clonVersion"-"$clonType".iso 2>/dev/null && echo "File deleted..." || echo "****** Error deleting file!!! ****** |
217 |
Please delete clonezilla-live-"$clonVersion"-"$clonType".iso manually" |
Please delete clonezilla-live-"$clonVersion"-"$clonType".iso manually" |
218 |
fi |
fi |
967 |
ans=n |
ans=n |
968 |
else |
else |
969 |
echo -n "Do you want to burn this ISO file? ([y]/n): " |
echo -n "Do you want to burn this ISO file? ([y]/n): " |
970 |
read ans |
read ans |
971 |
fi |
fi |
972 |
done |
done |
973 |
burnISO=0 |
burnISO=0 |