File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -157,10 +157,10 @@ cd rpi-eeprom-${EEPROM_VERSION}
157
157
dpkg-buildpackage -us -nc -uc
158
158
cd ..
159
159
dpkg -i * .deb
160
- cd ..
161
160
echo -e " Done."
162
- cd /home/$USER
163
161
rm -fdr /home/$USER /.build/eeprom
162
+ if [[ -d " /home/root" ]]; then rm -fdr /home/root; fi
163
+ cd ~
164
164
check
165
165
}
166
166
@@ -185,13 +185,14 @@ mkdir -p debian/patches
185
185
mv ../rpi-eeprom-update.patch debian/patches/rpi-eeprom-update.patch
186
186
echo rpi-eeprom-update.patch >> debian/patches/series
187
187
rm -f debian/control; mv -f ../rpi-eeprom-control debian/control
188
+ echo " 12" > debian/compat
188
189
dpkg-buildpackage -us -nc -uc
189
190
cd ..
190
191
dpkg -i * .deb
191
- cd ..
192
192
echo -e " Done."
193
- cd /home/$USER
194
193
rm -fdr /home/$USER /.build/eeprom
194
+ if [[ -d " /home/root" ]]; then rm -fdr /home/root; fi
195
+ cd ~
195
196
check
196
197
}
197
198
You can’t perform that action at this time.
0 commit comments