Closed jheiss closed 11 years ago
jheiss@sleet:~/projects/tpkg/junker> ls -l /opt/tpkg total 0 drwxr-xr-x 3 root admin 102 Apr 19 09:46 var/
jheiss@sleet:~/projects/tpkg/junker> tpkg -i junker-1.tpkg
jheiss@sleet:~/projects/tpkg/junker> ls -l /opt/tpkg total 16 drwxr-xr-x 2 root wheel 68 Apr 19 15:26 directory/ -rw-r--r-- 1 root wheel 0 Apr 19 15:26 file lrwxr-xr-x 1 root wheel 9 Apr 19 15:26 link_to_directory@ -> directory lrwxr-xr-x 1 root wheel 4 Apr 19 15:26 link_to_file@ -> file drwxr-xr-x 3 root admin 102 Apr 19 09:46 var/
jheiss@sleet:~/projects/tpkg/junker> tpkg -r junker The following packages will be removed: junker-1.tpkg
jheiss@sleet:~/projects/tpkg/junker> ls -l /opt/tpkg total 8 lrwxr-xr-x 1 root wheel 9 Apr 19 15:26 link_to_directory@ -> directory drwxr-xr-x 3 root admin 102 Apr 19 09:46 var/
This happened only when the symlink is being deleted before the referenced directory. I guess that's how this bug survived this far.
jheiss@sleet:~/projects/tpkg/junker> ls -l /opt/tpkg total 0 drwxr-xr-x 3 root admin 102 Apr 19 09:46 var/
jheiss@sleet:~/projects/tpkg/junker> tpkg -i junker-1.tpkg
jheiss@sleet:~/projects/tpkg/junker> ls -l /opt/tpkg total 16 drwxr-xr-x 2 root wheel 68 Apr 19 15:26 directory/ -rw-r--r-- 1 root wheel 0 Apr 19 15:26 file lrwxr-xr-x 1 root wheel 9 Apr 19 15:26 link_to_directory@ -> directory lrwxr-xr-x 1 root wheel 4 Apr 19 15:26 link_to_file@ -> file drwxr-xr-x 3 root admin 102 Apr 19 09:46 var/
jheiss@sleet:~/projects/tpkg/junker> tpkg -r junker The following packages will be removed: junker-1.tpkg
jheiss@sleet:~/projects/tpkg/junker> ls -l /opt/tpkg total 8 lrwxr-xr-x 1 root wheel 9 Apr 19 15:26 link_to_directory@ -> directory drwxr-xr-x 3 root admin 102 Apr 19 09:46 var/