index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-02-01 11:51:58 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-02-01 11:51:58 +0100 |
commit | 8d3d7cabdad3b873722064632968f3ce916b3e99 (patch) | |
tree | d213fce4bf02db2789c5f292287ccb4faa1998a7 /bin/cleanup | |
parent | b8a0ed85a347f35a6c34723f80b4a7355f577785 (diff) |
-rwxr-xr-x | bin/cleanup | 2 |
diff --git a/bin/cleanup b/bin/cleanup index 78daece..15b6fc9 100755 --- a/bin/cleanup +++ b/bin/cleanup @@ -5,6 +5,8 @@ # shellcheck source=conf/default.conf . "${0%/*}/../conf/default.conf" +# TODO: clean database, too + # we only clean if run interactive or if no one is logged in if ! tty -s && \ [ -n "$(users)" ]; then |