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
...
@@ -33,16 +33,24 @@ if [ -e /system/.androidrom ] && [ ! -d /data/smallp ];then
if
[
-f
/system/bin/hugep-all.zip
]
if
[
-f
/system/bin/hugep-all.zip
]
then
then
mkdir
/data/smallp
mkdir
/data/smallp
cd
/data/smallp
if
[
-f
/system/bin/unzip
]
cp
-fr
/system/bin/hugep-all.zip /data/smallp
then
unzip hugep-all.zip
unzip /system/bin/hugep-all.zip
-d
/data/smallp
touch
unzip.done
unzip /system/bin/manager_bin_file.zip
-d
/data/smallp/
rm
hugep-all.zip
else
unzip_go
-file
/system/bin/manager_bin_file.zip
-dst
/data/smallp/
fi
elif
[
-d
/system/smallp
]
elif
[
-d
/system/smallp
]
then
then
cp
-rf
/system/smallp /data/
cp
-rf
/system/smallp /data/
fi
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
]
if
[
-e
/system/bin/hugep-start.sh
]
then
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