Skip to content

Commit 3779914

Browse files
authored
Merge pull request #330 from JedMeister/more-19.x-updates
More 19.x updates
2 parents 2a265ee + db65f9f commit 3779914

3 files changed

Lines changed: 18 additions & 16 deletions

File tree

conf/turnkey.d/webmin-handy-log

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh -e
1+
#!/bin/bash -e
22

33
# set up convenience links to Webmin log files
44

@@ -7,7 +7,7 @@ WEBMIN_LOG=/var/log/webmin
77

88
mkdir -p $WEBMIN_LOG
99

10-
files="miniserv.log miniserv.error webmin.log"
11-
for f in $files; do
12-
ln -s $WEBMIN_VAR/$f $WEBMIN_LOG/$f
10+
files=(miniserv.error webmin.log)
11+
for f in "${files[@]}"; do
12+
ln -s "$WEBMIN_VAR/$f" "$WEBMIN_LOG/$f"
1313
done

removelists-final/turnkey

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
# rm apt proxy conf
22
/etc/apt/apt.conf.d/01proxy
33

4+
# clean apt cache
5+
/var/cache/apt/archives/
6+
!/var/cache/apt/archives/partial
7+
8+
# clean tmp key files
9+
/etc/apt/trusted.gpg~
10+
/etc/apt/trusted.gpg.d/*.gpg~
11+
12+
# clean apt related logs
13+
/var/log/dpkg.log
14+
/var/log/bootstrap.log
15+
/var/log/apt/term.log
16+
/var/log/apt/history.log
17+
418
# rm composer auth token
519
/root/.composer/auth.json
620
/var/www/.composer/auth.json
@@ -16,9 +30,6 @@
1630
# rm bashlib
1731
/usr/local/src/tkl-bashlib
1832

19-
# rm gh_releases
20-
/usr/local/bin/gh_releases
21-
2233
# rm tmp contents
2334
~/tmp/*
2435
~/tmp/.*

removelists/turnkey

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
11
/etc/resolvconf/resolv.conf.d/original
22

3-
/etc/apt/trusted.gpg~
4-
/etc/apt/trusted.gpg.d/debian.gpg~
5-
/etc/apt/trusted.gpg.d/turnkey.gpg~
6-
7-
/var/log/dpkg.log
8-
/var/log/bootstrap.log
9-
/var/log/apt/term.log
10-
/var/log/apt/history.log
11-
123
/var/www/html

0 commit comments

Comments
 (0)