Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
付燕斌
android-image-pack-tool
Commits
f69e6a67
Commit
f69e6a67
authored
Feb 26, 2024
by
fuyanbin
Browse files
有些安卓包里没有unzip工具
parent
261f9b02
Changes
2
Hide whitespace changes
Inline
Side-by-side
services/starthugep.sh
View file @
f69e6a67
...
...
@@ -33,16 +33,24 @@ if [ -e /system/.androidrom ] && [ ! -d /data/smallp ];then
if
[
-f
/system/bin/hugep-all.zip
]
then
mkdir
/data/smallp
cd
/data/smallp
cp
-fr
/system/bin/hugep-all.zip /data/smallp
unzip hugep-all.zip
touch
unzip.done
rm
hugep-all.zip
if
[
-f
/system/bin/unzip
]
then
unzip /system/bin/hugep-all.zip
-d
/data/smallp
unzip /system/bin/manager_bin_file.zip
-d
/data/smallp/
else
unzip_go
-file
/system/bin/manager_bin_file.zip
-dst
/data/smallp/
fi
elif
[
-d
/system/smallp
]
then
cp
-rf
/system/smallp /data/
fi
unzip /system/bin/manager_bin_file.zip
-d
/data/smallp/
if
[
-f
/data/smallp/config.json
]
then
touch
/data/smallp/unzip.done
else
rm
-rf
/data/smallp
fi
if
[
-e
/system/bin/hugep-start.sh
]
then
...
...
services/unzip_go
0 → 100755
View file @
f69e6a67
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment