It's important to note that this occurs on Ubuntu 8.10 Intrepid (with file-roller 2.23.3-0ubuntu2), not Ubuntu 8.04LTS Hardy.
file-roller can open the file just fine. The problem occurs when extracting. Your shell script opens file-roller for both files successfully, but does not attempt extraction.
If I extract (double click) the file in the window containing the .tar.gz file, it correctly extracts the "Hello world" file.
If I extract (double click) the file in the window containing the .gz file, it produces the error.
It's important to note that this occurs on Ubuntu 8.10 Intrepid (with file-roller 2.23.3-0ubuntu2), not Ubuntu 8.04LTS Hardy.
file-roller can open the file just fine. The problem occurs when extracting. Your shell script opens file-roller for both files successfully, but does not attempt extraction.
If I extract (double click) the file in the window containing the .tar.gz file, it correctly extracts the "Hello world" file.
If I extract (double click) the file in the window containing the .gz file, it produces the error.