Skip to content

Commit b2c46c2

Browse files
authored
Merge pull request #43 from rscohn2/dev/cleanup-apt
Save space by cleaning packages from apt/dnf cache
2 parents 02db4ae + 6464e87 commit b2c46c2

File tree

5 files changed

+6
-2
lines changed

5 files changed

+6
-2
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ repos:
2828
hooks:
2929
- id: doc8
3030
- repo: https://github.com/pycqa/isort
31-
rev: develop
31+
rev: 5.6.3
3232
hooks:
33-
- id: isort
33+
- id: isort
3434
- repo: https://github.com/pocc/pre-commit-hooks
3535
rev: master
3636
hooks:

scripts/install_linux_apt.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
COMPONENTS=$(echo "$1" | sed "s/,/ /g")
88
#shellcheck disable=SC2086
99
sudo apt-get install -y $COMPONENTS
10+
sudo apt-get clean

scripts/install_linux_apt_no_sudo.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66

77
COMPONENTS=$(echo "$1" | sed "s/,/ /g")
88
apt-get install -y "$COMPONENTS"
9+
apt-get clean

scripts/install_linux_dnf.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
COMPONENTS=$(echo "$1" | sed "s/,/ /g")
88
#shellcheck disable=SC2086
99
sudo dnf -y install $COMPONENTS
10+
sudo dnf clean packages

scripts/install_linux_dnf_no_sudo.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
COMPONENTS=$(echo "$1" | sed "s/,/ /g")
88
#shellcheck disable=SC2086
99
dnf -y install $COMPONENTS
10+
dnf clean packages

0 commit comments

Comments
 (0)