Skip to content

Commit 28a91bc

Browse files
committed
feat(apt): keep track of installed files
1 parent 11fc535 commit 28a91bc

4 files changed

Lines changed: 30 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/sh
2+
3+
{{- if ne .chezmoi.os "android" }}
4+
echo "# {{ .chezmoi.osRelease.prettyName }}"
5+
{{- end }}
6+
7+
apt-mark showauto | LC_COLLATE=C.UTF-8 sort
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/sh
2+
3+
{{- if ne .chezmoi.os "android" }}
4+
echo "# {{ .chezmoi.osRelease.prettyName }}"
5+
{{- end }}
6+
7+
apt-mark showmanual | LC_COLLATE=C.UTF-8 sort
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/sh
2+
3+
{{- if ne .chezmoi.os "android" }}
4+
echo "# {{ .chezmoi.osRelease.prettyName }}"
5+
{{- end }}
6+
7+
env LANGUAGE= LC_MESSAGES=en_US.UTF-8 \
8+
apt list --all-versions '?obsolete' 2> /dev/null | awk 'NR != 1 && length {print $0}'
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/sh
2+
3+
{{- if ne .chezmoi.os "android" }}
4+
echo "# {{ .chezmoi.osRelease.prettyName }}"
5+
{{- end }}
6+
7+
env LANGUAGE= LC_MESSAGES=en_US.UTF-8 \
8+
apt-cache policy

0 commit comments

Comments
 (0)