1
0
Fork 0
mirror of https://github.com/SinTan1729/random.git synced 2024-12-26 21:18:36 -06:00

Improve formatting

This commit is contained in:
Sayantan Santra 2022-09-19 20:03:45 -05:00
parent e205cec9aa
commit b5fc109f99

View file

@ -13,7 +13,7 @@ mkdir -p $DIR
# list and save system packages # list and save system packages
# command -v pacman &> /dev/null && pacman -Qq > $DIR/pacman # command -v pacman &> /dev/null && pacman -Qq > $DIR/pacman
command -v dnf &> /dev/null && dnf list installed > $DIR/dnf command -v dnf &> /dev/null && dnf list installed | awk '{print $1}' | tail -n +2 > $DIR/dnf
# list and save pip packages # list and save pip packages
command -v pip &> /dev/null && pip list | awk '{print $1}' | tail -n +3 > $DIR/pip command -v pip &> /dev/null && pip list | awk '{print $1}' | tail -n +3 > $DIR/pip