[deb] cleanup gemfile.lock on uninstall
Fixed in Releases:
Found in Releases:
Seems we don't cleanup properly:
root@wheezy934:~# apt-get purge foreman-postgresql foreman
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
bundler comerr-dev foreman-proxy krb5-multidev libgssrpc4 libkadm5clnt-mit8 libkadm5srv-mit8 libkdb5-6
libkrb5-dev libpq-dev libpq5 libssl-dev libssl-doc rake ruby-rack ruby-rack-protection ruby-rkerberos
ruby-sinatra ruby-tilt rubygems-integration unzip zip zlib1g-dev
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
0 upgraded, 0 newly installed, 2 to remove and 15 not upgraded.
After this operation, 47.1 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 44627 files and directories currently installed.)
Removing foreman-postgresql ...
Purging configuration files for foreman-postgresql ...
Removing foreman ...
Purging configuration files for foreman ...
dpkg: warning: while removing foreman, directory '/usr/share/foreman' not empty so not removed
lh /usr/share/foreman1 foreman foreman 3.4K May 1 14:24 Gemfile.lock
We should delete that in the pre-rm script.