[haiku-bugs] Re: [Haiku] #13427: Package Uninstall should run a Bash Script too
- From: "Haiku" <trac@xxxxxxxxxxxx>
- To: undisclosed-recipients: ;
- Date: Tue, 05 May 2020 14:25:05 -0000
#13427: Package Uninstall should run a Bash Script too
-------------------------+-------------------------------------------------
Reporter: AGMS | Owner: bonefish
Type: | Status: new
enhancement |
Priority: normal | Milestone: R1/beta3
Component: | Version: R1/Development
Servers/package_daemon | Keywords: .PackageInfo post-install-scripts
Resolution: | uninstall
Blocked By: | Blocking:
Platform: All |
-------------------------+-------------------------------------------------
Comment (by nephele):
Deinstall scripts should /never/ touch config or user data imo, whether
you use haikuports or some other package repository is pretty irrelevant.
This files need to unzip to this positions, because you can not install
to home or config in home using hpkg.
Yes you can? That is how haikuporter operates, no? It's just not the
default, if you need writeable locations patching the software, or using a
sort of unionfs makes the most sense for a clean solution imo.
Android cleans up data applications write, and personally i absolutely
hate this, i have lost data severall times dou to it (It associates data
via unix users for the shared space)
For the case of leftover data, like highscores, old mails etc. that users
may want to deinstall there should be a "Cleanup" utility later of sorts
that lists folders created in ~/config/ that are associated with
deinstalled apps, to offer users an easy way to remove this on a case-by-
case basis (This is after all user data, and users should decide what
happens with it)
(As an example Vision for instance keeps logs, those should be offered to
be deleted in such a utility somewhere down the line)
--
Ticket URL: <
https://dev.haiku-os.org/ticket/13427#comment:12>
Haiku <
https://dev.haiku-os.org>
The Haiku operating system.
Other related posts: