Skip to content

Commit

Permalink
Commit on 20180127 branch master 825769958.
Browse files Browse the repository at this point in the history
  • Loading branch information
SDRausty committed Jan 27, 2018
1 parent 7d991f7 commit 8cffa3b
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.md
@@ -1,5 +1,5 @@
# [TermuxArch](https://github.com/sdrausty/TermuxArch)
[![Join the chat at https://gitter.im/termux/termux](https://badges.gitter.im/termux/termux.svg)](https://gitter.im/termux/termux) Termux developers, contributors and users welcome.
[![Join the chat at https://gitter.im/termux/termux](https://badges.gitter.im/termux/termux.svg)](https://gitter.im/termux/termux) Termux developer questions welcome.

##### -rwxrwx--- [setupTermuxArch.sh](https://sdrausty.github.io/TermuxArch/setupTermuxArch.sh)
##### -r--r--r-- [setupTermuxArch.sh](https://raw.githubusercontent.com/sdrausty/TermuxArch/master/scripts/files/stable/setupTermuxArch.sh)
Expand Down
20 changes: 20 additions & 0 deletions scripts/files/stable/dfa
@@ -0,0 +1,20 @@
#!/bin/bash
# Copyright 2018 by SDRausty. All rights reserved. 🌎 🌍 🌏 🌐 🗺
# Website for this project at https://sdrausty.github.io/TermuxArch
# See https://sdrausty.github.io/TermuxArch/CONTRIBUTORS Thank You!
# Based on http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_07_03.html
# Regarding https://github.com/sdrausty/TermuxArch/issues/37
# This script does a very simple test for checking disk space.

space=`df /storage/emulated/0 | awk '{print $4}' | sed '2q;d'`
printf $space
if [[ $space = *G ]] || [[ $space = *T ]];then
#if [ $space == *G ];then
Message="All is quiet."
else
Message="Start thinking about cleaning out some stuff. There's a partition that has just $space."
fi

printf "\n$Message\n"
printf "\nDate Message\n"
printf "\nDisk report $space on `date`\n"
1 change: 1 addition & 0 deletions scripts/files/stable/necessaryfunctions.sh
Expand Up @@ -47,6 +47,7 @@ copybin2path ()

detectsystem ()
{
spaceinfo
printdetectedsystem
if [ $(getprop ro.product.cpu.abi) = armeabi ];then
armv5l
Expand Down
2 changes: 1 addition & 1 deletion scripts/frags/dfa
Submodule dfa updated 5 files
+0 −8 CONTRIBUTORS.md
+0 −19 NOTICE.md
+1 −1 README.md
+5 −3 dfa
+0 −14 index.md
2 changes: 1 addition & 1 deletion setupTermuxArch.md5
@@ -1 +1 @@
b083225ee299727c96c6523e21c0c242 setupTermuxArch.tar.gz
2f82d126d32075f0e0877e3d3979a1ef setupTermuxArch.tar.gz
Binary file modified setupTermuxArch.tar.gz
Binary file not shown.

0 comments on commit 8cffa3b

Please sign in to comment.