Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Magisk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Magisk
Commits
c3a6179a
Commit
c3a6179a
authored
Jul 05, 2018
by
topjohnwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update scripts
parent
ef175e3c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
addon.d.sh
scripts/addon.d.sh
+1
-1
util_functions.sh
scripts/util_functions.sh
+1
-3
No files found.
scripts/addon.d.sh
View file @
c3a6179a
...
...
@@ -124,7 +124,7 @@ case "$1" in
# addon.d-v2
main_v2
else
OUTFD
=
1
OUTFD
=
get_outfd
# Run in background, hack for addon.d-v1
(
main_v1
)
&
...
...
scripts/util_functions.sh
View file @
c3a6179a
...
...
@@ -23,7 +23,7 @@ BOOTSIGNER="/system/bin/dalvikvm -Xnodex2oat -Xnoimage-dex2oat -cp \$APK com.top
BOOTSIGNED
=
false
get_outfd
()
{
if
[
$OUTFD
-eq
1
]
;
then
if
[
-z
$OUTFD
]
||
readlink
/proc/self/fd/
$OUTFD
|
grep
-q
/tmp
;
then
# We will have to manually find out OUTFD
for
FD
in
`
ls
/proc/self/fd
`
;
do
if
readlink
/proc/self/fd/
$FD
|
grep
-q
pipe
;
then
...
...
@@ -162,11 +162,9 @@ run_migrations() {
fi
# Move the stock backups
if
[
-f
/data/magisk/stock_boot
*
]
;
then
rm
-rf
/data/stock_boot
*
mv
/data/magisk/stock_boot
*
/data 2>/dev/null
fi
if
[
-f
/data/adb/magisk/stock_boot
*
]
;
then
rm
-rf
/data/stock_boot
*
mv
/data/adb/magisk/stock_boot
*
/data 2>/dev/null
fi
# Remove old dbs
...
...
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