File tree Expand file tree Collapse file tree 4 files changed +16
-5
lines changed Expand file tree Collapse file tree 4 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ class pkg():
102
102
103
103
with open ("stdeb.cfg" , "w" ) as f :
104
104
f .write (stdcfg )
105
- if subprocess .call ('python3.5 setup.py --command-packages=stdeb.command bdist_deb' , shell = True ) == 0 and \
105
+ if subprocess .call ('/usr/bin/ python3.5 setup.py --command-packages=stdeb.command bdist_deb' , shell = True ) == 0 and \
106
106
os .path .exists (os .path .join ("deb_dist" , "python3-multibootusb_" + self .version + "-1_all.deb" )):
107
107
try :
108
108
shutil .copy2 (os .path .join ("deb_dist" , "python3-multibootusb_" + self .version + "-1_all.deb" ),
@@ -130,7 +130,7 @@ class pkg():
130
130
"Requires = " + require )
131
131
with open ("setup.cfg" , "w" ) as f :
132
132
f .write (setup_cfg )
133
- if subprocess .call ('python3.5 setup.py bdist_rpm' , shell = True ) == 0 and \
133
+ if subprocess .call ('/usr/bin/ python3.5 setup.py bdist_rpm' , shell = True ) == 0 and \
134
134
os .path .exists (os .path .join ("dist" , "multibootusb-" + self .version + "-1.noarch.rpm" )):
135
135
if self .pkg_name == 'suse' :
136
136
package = "multibootusb-" + self .version + "-1suse.noarch.rpm"
Original file line number Diff line number Diff line change
1
+ for isofile in $isopath/grml*.iso; do
2
+ if [ -e " $isofile" ]; then
3
+ regexp --set =isoname " $isopath/(.*)" " $isofile"
4
+ submenu " $isoname (loopback.cfg) ->" " $isofile" {
5
+ iso_path =" $2"
6
+ export iso_path
7
+ search --set =root --file " $iso_path"
8
+ loopback loop " $iso_path"
9
+ root =(loop)
10
+ configfile /boot/grub/loopback.cfg
11
+ loopback --delete loop
12
+ }
13
+ fi
14
+ done
Original file line number Diff line number Diff line change 1
- insmod ufs2
2
- insmod bsd
3
1
for isofile in $isopath/pfSense-*-amd64.iso; do
4
2
if [ -e " $isofile" ]; then
5
3
regexp --set =isoname " $isopath/(.*)" " $isofile"
Original file line number Diff line number Diff line change 1
1
for isofile in $isopath/TinyCore-*.iso; do
2
- echo $isopath
3
2
if [ -e " $isofile" ]; then
4
3
regexp --set =isoname " $isopath/(.*)" " $isofile"
5
4
submenu " $isoname ->" " $isofile" {
You can’t perform that action at this time.
0 commit comments