-f file - True if file exists and is a regular file.
So yes, -f means file (./$NAME.tar in your case) exists and is a regular file (not a device file or a directory for example).
Если файл "/etc/license существует и не представляет собой устройство либо папку
Вывести надпись: "The panel is already installed."