Skip to content

Commit af5f8a5

Browse files
committed
Remove compressed and modular dir
Signed-off-by: Ansuel Smith <[email protected]>
1 parent 8556c65 commit af5f8a5

38 files changed

+40
-804
lines changed

compressed/GUI.tar.bz2

-5.16 MB
Binary file not shown.

compressed/GUI_dev.tar.bz2

-5.17 MB
Binary file not shown.

compressed/version

-802
This file was deleted.

decompressed/gui_file/usr/share/transformer/scripts/refresh_driver.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ apply_driver() {
7373

7474
download_Driver() {
7575
logger "Downloading driver "$driver_set
76-
remote_driver_dir=https://raw.githubusercontent.com/Ansuel/tch-nginx-gui/dev/modular/xdsl_driver/$arch/
76+
remote_driver_dir=https://raw.githubusercontent.com/Ansuel/tch-nginx-gui/dev/xdsl_driver/$arch/
7777
$curl $remote_driver_dir/$driver_set --output /tmp/$driver_set
7878
}
7979

increment_version.sh

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
rootdevice_file="decompressed/base/etc/init.d/rootdevice"
2+
latest_version_link="https://raw.githubusercontent.com/Ansuel/gui-dev-build-auto/master/latest.version"
3+
version=$(curl -s $latest_version_link)
4+
5+
echo "Increment version as this is an autobuild"
6+
7+
major=$(echo $version | grep -Eo "^[0-9]+")
8+
dev_num=$(echo $version | sed -E s/[0-9]+\.[0-9]+\.//)
9+
minor=$(echo $version | sed s#$major\.## | sed s#\\.$dev_num## )
10+
11+
if [ $((dev_num + 1)) -gt 99 ]; then
12+
echo "dev_num greater than 99 increment minor"
13+
dev_num=0
14+
if [ $((minor + 1)) -gt 99 ]; then
15+
echo "minor greater than 99 increment minor"
16+
minor=0
17+
major=$((major + 1))
18+
else
19+
minor=$((minor + 1))
20+
fi
21+
else
22+
dev_num=$((dev_num + 1))
23+
fi
24+
25+
new_version=$major.$minor.$dev_num
26+
27+
echo "Detected version: "$version
28+
echo "New version to apply: "$new_version
29+

inizialize_gui.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,10 @@ if [ -d total ]; then
121121
rm -r total
122122
fi
123123
124+
if [ ! -d compressed ]; then
125+
mkdir compressed
126+
fi
127+
124128
mkdir total
125129
126130
if [ ! -d total/tmp ]; then
@@ -152,7 +156,7 @@ if [ $CI == "true" ]; then
152156
else
153157
echo "Md5sum already present. Overwriting..."
154158
old_version_md5=$(grep -w "$version" $HOME/gui-dev-build-auto/version | awk '{print $1}')
155-
sed -i "/$version/d" compressed/version
159+
sed -i "/$version/d" $HOME/gui-dev-build-auto/version
156160
echo "Adding md5sum of new GUI to version file"
157161
echo "Version: "$version" Old_Md5sum: "$old_version_md5
158162
echo "Version: "$version" Md5sum: "$md5sum

modular/base.tar.bz2

-193 KB
Binary file not shown.
-14.5 KB
Binary file not shown.
-23.1 KB
Binary file not shown.

modular/gui_file.tar.bz2

-2.36 MB
Binary file not shown.
-2.7 KB
Binary file not shown.
-2.84 KB
Binary file not shown.
-2.1 KB
Binary file not shown.
-1.84 KB
Binary file not shown.
-216 KB
Binary file not shown.
-208 KB
Binary file not shown.

modular/telstra_gui.tar.bz2

-291 KB
Binary file not shown.

modular/traffic_mon.tar.bz2

-3.19 KB
Binary file not shown.
-1.5 MB
Binary file not shown.

modular/upnpfix-specificDGA.tar.bz2

-63.8 KB
Binary file not shown.

modular/wgetfix-specificDGA.tar.bz2

-237 KB
Binary file not shown.

test.sh

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
while true; do
2+
increment_version.sh
3+
done
4+
5+
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)