Skip to content

Commit

Permalink
commit 318071023 on 20211024
Browse files Browse the repository at this point in the history
  • Loading branch information
SDRausty committed Oct 24, 2021
1 parent c92ac92 commit dbdf763
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .conf/VERSIONID
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.65
1.0.66
16 changes: 11 additions & 5 deletions buildAPKs/trim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,24 @@
# Deletes '.git' directories and '*.log' files in ~/buildAPKs in order to save space in the $HOME/buildAPKs directory.
#####################################################################
set -eu
RDR="$HOME/buildAPKs" # define project root directory
_DELDIRS_ () { # delete '.git' directories
# RDR="$HOME/buildAPKs" # define project root directory
_DLGDIRS_ () { # delete '.git' directories
find "$RDR"/sources/ -type d -name \.git > "$RDR"/tmp/del.dirs.file
for DELDIR in $(cat "$RDR"/tmp/del.dirs.file) ; do rm -rf "$DELDIR" && printf '%s\n' "Deleted directory '$DELDIR '." && rm -f "$RDR"/tmp/del.dirs.file ; done
grep -v '^ *#' < "$RDR"/tmp/del.dirs.file | while IFS= read -r DELDIR
do
rm -rf "$DELDIR" && printf '%s\n' "Deleted directory '$DELDIR '."
done
rm -f "$RDR"/tmp/del.dirs.file
}
_DELFILES_ () { # delete '*.log' files
_DLFILES_ () { # delete '*.log' files
printf '%s\n' "Deleting '*.log' files in directory '$RDR/var/log/'." && find "$RDR"/var/log/ -type f -name "*.log" -delete
}
_DOTRIMN_ () { # delete '.git' directories
DFEM="$(df | grep emulated)"
printf '%s\n' "$DFEM"
_DELDIRS_ ; _DELFILES_
_DELDIRS_ ; _DLFILES_
printf '%s\n' "Before: $DFEM"
DFEM="$(df | grep emulated)"
printf '%s\n' "After: $DFEM"
}
# trim.sh EOF
4 changes: 2 additions & 2 deletions sha512.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
2d20436d30ca064184aea408f94ef3c5043238b2f2ac76af84b18248477369caf70926ae09c1793b8b2f0118159820720ec6eaebd82d475d48a6a5e1f057ca4e ./.conf/VERSIONID
9dd9503b46ea833415978802d62ea874181c50f2087994117f51281fb45339c3f57a6dc7b95bf798c90f16f225a59063175e0afba4d3a3a5932368b30a7c78e1 ./.conf/VERSIONID
05a502a845e35bc0495a3a3006ae914785c48679dddd362bd98bd33c306ed2aa8fac57344b1b65955d41755c3967f3e991770764f6c2f14c6a52f3e52e00ef1c ./.github/FUNDING.yml
503fbdd756ac28eba94e27e9b584c2a4532b78df5eb2fe66b747a67350a56ee579e08680ae637d80de9fa264bf5e099bb4e48a82bf2f0e32358eedfe018fdb15 ./.github/workflows/greetings.yml
5e20f4451f28b2ad8cd03e174bafa7c5d2d08cb3d9c6364a1f36b47fa1a2ae7e222970337f1481f149b6f87894f59e113bc49924776d558f0eb0773f6eebcd56 ./.github/workflows/label.yml
Expand All @@ -15,7 +15,7 @@ bf9fc208dfcedec58cbe8d45ada92bf8a339be6cce429c0bbf685a6cbc4371b404e0246d65e85382
b324aa24d4616d070d27a97b21c5a29f3c595fe095ed87978881ec48fde69a68437c1762bec8f0cc66488ac90741f46f1616d381951759fc907653b88048cdbe ./buildAPKs/maintenance/f3rmrfd.sh
62c866dc0c1029d594612ef5c3101631b3e6054e13b313857c799ac1a68f42980f50aa388383b88911afe772adec7a08901363667e4f790e114d4cce7e81f734 ./buildAPKs/maintenance/up.sh
c8a82f590df1f167d3ca665ab0e033d85526036c1abe1d95a49b1c1c876f3bc70b6b638859aa372656ef2023e39e45b053c53df10c436f2b1ad8ecbff5867fce ./buildAPKs/names.sh
403421d66cc3c5af07aca8222677319c37417d31f3a7a7ace5f48d36679d0e1eb267cc70e4c2abdac318a952cea00ca33d5b5666e33976e951a50f906e6e3b01 ./buildAPKs/trim.sh
7c653756e6621f35de4b377a3021cb7fed574d2ae6d059b455d799a7ad55391a89d44c828ec00988359fd227b8eb9bbc9275d8d22cb52479ef0be6d9c0641f09 ./buildAPKs/trim.sh
618f958464a35ff353a80afc2cef272be6c8e5e4df371a2e283a5838244a38208f46db5b4d7efecbaf3b0bc15929020906083cf214519b187f9f4d746c0dce46 ./dctar.sh
a1aaa334ed19804ade2f675811bf78d2298af441263eb4a50da392e5ff3a907e394508c2487a5a00e5a598906ef90b955e834a0de9901a961344073dcb49b665 ./gen.cert.sh
abe481a5a5dae763ce6119e3b638afe8c75dd6bf4039e21891ce457ef38b38706b9b0671d38bee15c67b0be8331c52584aa5d97eeebdbeeac6259a253316ece3 ./inst.sh
Expand Down

1 comment on commit dbdf763

@SDRausty
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.