dCore Import Debian Packages to Mountable SCE extensions > dCore X86
Empty '.filetool.lst'
coreplayer2:
Hi Rich
Re the /backup_done flag
What happens in the case of ~/.profile backup=0 ?
Sent from my iPhone using Tapatalk
Rich:
Hi coreplayer2
From my .profile:
--- Code: ---export BACKUP=1
[ "`id -un`" = "`cat /etc/sysconfig/tcuser`" ] && echo "$BACKUP" | sudo tee /etc/sysconfig/backup >/dev/null
--- End code ---
If I'm reading it correctly, the second line creates:
--- Code: ---/etc/sysconfig/backup
--- End code ---
which is probably what determines if a backup should be run.
gerald_clark:
What is the point of "| tee /etc/sysconfig/backup >/dev/null" ?
Why not just ">/etc/sysconfig/backup" ?
Rich:
Hi gerald_clark
Possibly a remnant from an earlier version that had used more than one file destination?
Jason W:
Common Core/dCore functionality was taken from Core during 5.x, may not be the same as Core. I will look at this and see when I get in tonight.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version