Browse code

Slightly improved 2 scripts by making them create needed folders, etc.

Updated .gitignore.

Apollia authored on12/19/2019 07:45:51
Showing3 changed files
... ...
@@ -5,4 +5,5 @@ Minimal Ramize-Physave/
5 5
 lupu_devx_528-4.sfs
6 6
 DevX.iso
7 7
 VirtualBox_Guest_Setup_Scripts.iso
8
-Private/
9 8
\ No newline at end of file
9
+Private/
10
+VM Config/
10 11
\ No newline at end of file
... ...
@@ -35,15 +35,17 @@ echo "Fiolpath____DevX: $Fiolpath____DevX"
35 35
 
36 36
 readonly Disc_Name="DevX"
37 37
 
38
+Follpath____Temp_DevX_Folder="/tmp/0000-VirtualBox Guest Setup/Temp DevX Folder"
39
+	
40
+	
41
+mkdir --parents "$Follpath____Temp_DevX_Folder"
42
+	
38 43
 if [ -f "$Fiolpath____DevX" ]
39 44
 then
40 45
 	# 08:31:16 05/17/2018.  If it's a file, we have to put a copy of it in a temp folder.
41 46
 	
42
-	Follpath____Temp_DevX_Folder="/tmp/0000-VirtualBox Guest Setup/Temp DevX Folder"
43 47
 	
44 48
 	
45
-	mkdir --parents "$Follpath____Temp_DevX_Folder"
46
-	
47 49
 	cp "$Fiolpath____DevX" "$Follpath____Temp_DevX_Folder"
48 50
 	
49 51
 	if [ ! -z "$Fiolpath____Kernel_Headers" ]
... ...
@@ -66,6 +68,8 @@ fi
66 68
 readonly Follpath____Output_ISO="/tmp/APSK/VirtualBox Guest Setup Scripts Workspace"
67 69
 readonly Fillepath____Output_ISO="$Follpath____Output_ISO/$Filename____ISO"
68 70
 
71
+mkdir --parents "$Follpath____Output_ISO"
72
+
69 73
 #-----
70 74
 
71 75
 cd "$Follpath____Package_Parentdir"
... ...
@@ -15,6 +15,9 @@ readonly Fillepath____This_Script=$(realpath "${BASH_SOURCE[0]}")
15 15
 
16 16
 Follpath____ISO_Dest="/root/apbin/ISOs/For VirtualBox"
17 17
 
18
+mkdir --parents "$Follpath____ISO_Dest"
19
+
20
+
18 21
 echo "Please wait - copying ISO files to:
19 22
 
20 23
 	$Follpath____ISO_Dest
... ...
@@ -35,4 +38,7 @@ bash "$Fillepath____Copy_Dragdropped_Files_into_ISO_Home" "$(platz 'APSK Virtual
35 38
 
36 39
 echo
37 40
 echo
38
-echo "Done copying!"
39 41
\ No newline at end of file
42
+echo "Done copying!"
43
+
44
+
45
+rox "$Follpath____ISO_Dest"
40 46
\ No newline at end of file