75
75
OLD_RELEASES="/srv/cdimage.ubuntu.com/www/old-releases"
77
77
images_arg=$(realpath -s $1)
78
# Remove .img, .img.xz, .img.gz or .iso suffix, in case it's given
79
79
images_arg=${images_arg%.iso}
80
80
images_arg=${images_arg%.img}
81
81
images_arg=${images_arg%.img.xz}
82
83
images_base=$(basename "$images_arg")
83
84
images_source=$(dirname "$images_arg")