blob: 19e64f3314032e1116af0ae89b36429d6ba8f271 (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/sh
# Creates files containing lists of installed and manually installed packages
# in cache directory
pkgdir="$HOME/.cache/packages"
apt list --installed | tail -n+2 | cut -d '/' -f 1 > $pkgdir/installed
apt list --manual-installed | tail -n+2 |
cut -d '/' -f 1 > $pkgdir/manual-installed
|