Hi all! I am having problems with an installer for a program. The installer itself is a compiled script that wants to use the "tar" command for making some backups prior to actual installation. The problem is that when it calls "tar" to try to do so, it fails with the following message:
Code:
/bin/tar: Cowardly refusing to create an empty archive
Try `/bin/tar --help' or `/bin/tar --usage' for more information.
/bin/tar: Cowardly refusing to create an empty archive
Try `/bin/tar --help' or `/bin/tar --usage' for more information.
while executing
"exec $TAR -cf $backupDir/$backFile -I ./existfiles.txt"
(procedure "makeBackup" line 18)
invoked from within
"makeBackup $package "
(procedure "xtar" line 6)
invoked from within
"xtar $fullName $pakName "
("tar" arm line 1)
invoked from within
"switch $tool {
"bundle" { set fullName [ extractBundle $fullName $pakName ] }
"des" { set fullName [ des ..."
(procedure "installPackage" line 16)
invoked from within
"installPackage $package "
(procedure "installSelectedPackage" line 37)
invoked from within
"installSelectedPackage"
invoked from within
".installpkg.bSelUp invoke"
("uplevel" body line 1)
invoked from within
"uplevel #0[list $w invoke]"
(procedure "tk::ButtonUp" line 22)
invoked from within
"tk::ButtonUp .installpkg.bSelUp"
(command bound to event)
I am able to run this script successfully in a PC with Centos5 (tar --version gives "tar (GNU tar) 1.15.1"), but it fails in a PC with Opensuse 11.4 (tar --version gives "tar (GNU tar) 1.26 [...]").
Note that, as I mentioned before, it is a compiled installer so unfortunately I am not able to change/modify it
I would be really grateful if somebody has any ideas as to how I could bypass this problem!
Cheers,
Jorge.