Skip to content

Commit

Permalink
issues with logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeguzis committed Dec 30, 2014
1 parent b7ac7cc commit b46ac9c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
32 changes: 17 additions & 15 deletions retrorig-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -373,22 +373,24 @@ Installer" --menu "| Main Menu (v.0.9.8) | \

1)
now=$(date +'%d%m%Y_%H%M%S')
h_autosave_configs | tee >> $rootdir/logs/temp_log.txt
rrs_prepareFolders | tee >> $rootdir/logs/temp_log.txt
rrs_software | tee >> $rootdir/logs/temp_log.txt
rrs_emulators | tee >> $rootdir/logs/temp_log.txt
rrs_retrorig_cfgs | tee >> $rootdir/logs/temp_log.txt
rrs_xbmc_cfgs | tee >> $rootdir/logs/temp_log.txt
rrs_gamepad | tee >> $rootdir/logs/temp_log.txt
h_emu_user_fixes | tee >> $rootdir/logs/temp_log.txt
set_resolution | tee >> $rootdir/logs/temp_log.txt
rrs_post_install | tee >> $rootdir/logs/temp_log.txt
rrs_debug | tee >> $rootdir/logs/temp_log.txt
rrs_done | tee >> $rootdir/logs/temp_log.txt
h_autosave_configs
rrs_prepareFolders
rrs_software
rrs_emulators
rrs_retrorig_cfgs
rrs_xbmc_cfgs
rrs_gamepad
h_emu_user_fixes
set_resolution
rrs_post_install
rrs_debug
rrs_done

# something is ruining logging using "| tee >> $rootdir/logs/temp_log.txt" removing for now
# clean and fixup log file
tr -cd '\11\12\15\40-\176' < "$rootdir/logs/temp_log.txt" > "$rootdir/logs/install_$now.log.txt"
chown -R "$user" "$rootdir/logs/install_$now.log.txt"
chgrp -R "$user" "$rootdir/logs/install_$now.log.txt"
#tr -cd '\11\12\15\40-\176' < "$rootdir/logs/temp_log.txt" > "$rootdir/logs/install_$now.log.txt"
#chown -R "$user" "$rootdir/logs/install_$now.log.txt"
#chgrp -R "$user" "$rootdir/logs/install_$now.log.txt"

kernelUpdate=`cat $rootdir/logs/kernelUpdate`
rm -f "$rootdir/logs/kernelUpdate"
Expand Down
2 changes: 1 addition & 1 deletion scriptmodules/setup.shinc
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ function rrs_source_syscalls()
pkg_manager="N/A"
init_system="N/A"
# set flag to exit
#exit_unsupported="yes"
exit_unsupported="yes"

;;

Expand Down

0 comments on commit b46ac9c

Please sign in to comment.