This commit is contained in:
2024-11-12 05:34:49 -07:00
parent 0f155c3644
commit 8c250fb250
2 changed files with 10 additions and 1 deletions
+9
View File
@@ -80,19 +80,28 @@ elif [ "$arg" == "retool" ]; then
write_to_log "deleting old export.sh" write_to_log "deleting old export.sh"
rm $idfDir/export.sh rm $idfDir/export.sh
return_status
write_to_log "Replacing original export.sh from export.sh.bak" write_to_log "Replacing original export.sh from export.sh.bak"
cp $idfDir/export.sh.bak $idfDir/export.sh cp $idfDir/export.sh.bak $idfDir/export.sh
return_status
write_to_log "Editing ${idfDir}/export.sh"
sed -i 's/return 0/# return 0/g' $idfDir/export.sh
return_status
write_to_log "Appending new add-to-export-sh.txt to export.sh" write_to_log "Appending new add-to-export-sh.txt to export.sh"
cat $runningDir/add-to-export-sh.txt >> $idfDir/export.sh cat $runningDir/add-to-export-sh.txt >> $idfDir/export.sh
return_status
write_to_log "Deleting .custom_bin dir" write_to_log "Deleting .custom_bin dir"
rm -rf $customBinLocation rm -rf $customBinLocation
return_status
write_to_log "Coppying new custom_bin and making them executable" write_to_log "Coppying new custom_bin and making them executable"
cp -r $customBinFrom $customBinLocation cp -r $customBinFrom $customBinLocation
chmod +x $customBinLocation/* chmod +x $customBinLocation/*
return_status
exit exit
else else
+1 -1
View File
@@ -1 +1 @@
56-dev.8 56-dev.9