-
-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathdiffusion_config.sh
More file actions
57 lines (43 loc) · 878 Bytes
/
diffusion_config.sh
File metadata and controls
57 lines (43 loc) · 878 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Diffusion Installer Config
# osm0sis @ xda-developers
INST_NAME="mtd-utils Installer Script";
AUTH_NAME="osm0sis @ xda-developers";
USE_ARCH=false
USE_ZIP_OPTS=true
custom_setup() {
return # stub
}
custom_zip_opts() {
return # stub
}
custom_target() {
return # stub
}
custom_install() {
ui_print " ";
set_perm_recursive 0 0 755 755 $BIN/arm $BIN/arm64;
if $BIN/arm64/nanddump --version >/dev/null 2>&1; then
ui_print "Installing mtd-utils (arm64) to $BIN ...";
cp -fp $BIN/arm64/* $BIN;
else
ui_print "Installing mtd-utils (arm) to $BIN ...";
cp -fp $BIN/arm/* $BIN;
fi;
rm -rf $BIN/arm $BIN/arm64;
}
custom_postinstall() {
return # stub
}
custom_uninstall() {
return # stub
}
custom_postuninstall() {
return # stub
}
custom_cleanup() {
return # stub
}
custom_exitmsg() {
return # stub
}
# additional custom functions