Skip to content

Commit

Permalink
make SetupHelper independent of Venus OS version
Browse files Browse the repository at this point in the history
v2.66 doesn't support 'cat -n'
  • Loading branch information
kwindrem committed Oct 20, 2022
1 parent 32362e4 commit fc2255e
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion blindInstall/SetupHelperVersion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v4.28
v4.29
2 changes: 1 addition & 1 deletion changes
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
v4.28:
v4.28/v2.89:
make SetupHelper independent of Venus OS version

v4.27:
Expand Down
3 changes: 1 addition & 2 deletions setup
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ if [ $scriptAction == 'INSTALL' ] ; then
rm -f "/var/volatile/tmp/PageSettings.qml"
echo "//////// modified to insert PackageManager menu" > "/var/volatile/tmp/PageSettings.qml"
# find line with second to last }
#################insertBefore=$(awk '{print NR " " $s}' "$origFile" | grep '}' | tail -2 | head -n 1 | awk '{print $1}')
insertBefore=$(cat -n "$origFile" | grep '}' | tail -2 | head -n 1 | awk '{print $1}')
insertBefore=$(awk '{print NR " " $s}' "$origFile" | grep '}' | tail -2 | head -n 1 | awk '{print $1}')
((insertBefore -= 1))
# include all lines before that one
head -n $insertBefore $origFile >> "/var/volatile/tmp/PageSettings.qml"
Expand Down
Binary file modified venus-data.UninstallPackages.tar.gz
Binary file not shown.
Binary file modified venus-data.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v4.28
v4.29

0 comments on commit fc2255e

Please sign in to comment.