Skip to content

Commit c253688

Browse files
author
Rasmus Villemoes
committed
debian/prerm: add --system flag
I was wondering why my ~/.gitconfig would sometimes end up being owned by root, with 0600 permissions, making git unable to read it and thus interfering with my normal workflow. Looking at the mtime/ctime of .gitconfig, I finally correlated it with 2018-09-20 09:55:47 upgrade git-lfs:amd64 2.5.1 2.5.2 2018-09-20 09:55:47 status half-configured git-lfs:amd64 2.5.1 2018-09-20 09:55:47 status unpacked git-lfs:amd64 2.5.1 2018-09-20 09:55:47 status half-installed git-lfs:amd64 2.5.1 2018-09-20 09:55:47 status half-installed git-lfs:amd64 2.5.1 2018-09-20 09:55:47 status unpacked git-lfs:amd64 2.5.2 2018-09-20 09:55:47 status unpacked git-lfs:amd64 2.5.2 in my dpkg.log. So while the postinst script does change the global git config, the prerm script modifies the .gitconfig of whichever user did the "apt-get upgrade".
1 parent cbe97fe commit c253688

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

debian/prerm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/sh
2-
git lfs uninstall
2+
git lfs uninstall --system

0 commit comments

Comments
 (0)