# You should have received a copy of the GNU Affero General Public License
# along with cgilite. If not, see <http://www.gnu.org/licenses/>.
# You should have received a copy of the GNU Affero General Public License
# along with cgilite. If not, see <http://www.gnu.org/licenses/>.
|| range="0-$((file_size - 1))";;
*-*) [ ${range#*-} -ge $file_size ] \
&& range="${range%-*}-$((file_size - 1))";;
|| range="0-$((file_size - 1))";;
*-*) [ ${range#*-} -ge $file_size ] \
&& range="${range%-*}-$((file_size - 1))";;