X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=postinst-setup;h=25b174759541ad750a007c27c76b64c943222c7e;hp=d55fb4b7ad9f6f241e1debef1877a4fc4b25a3d4;hb=d5bbaccdbfcb0eefb31c8f03a9b21cbf1f3e3e12;hpb=1e92ec38c83c770cfc25cc071be9e5ff2881d5ab diff --git a/postinst-setup b/postinst-setup index d55fb4b..25b1747 100755 --- a/postinst-setup +++ b/postinst-setup @@ -1,5 +1,10 @@ #!/bin/sh -e +# move backup to /var +if [ -d /home/martin/backup ] && [ ! -d /var/backups/martin ]; then + cp -a /home/martin/backup /var/backups/martin +fi + # install already shipped debs [ -e /mirror ] || ln -s /home/ubuntu-mirror /mirror mount -o loop /home/martin/download/ubuntu/gutsy-alternate-amd64.iso /cdrom @@ -81,5 +86,5 @@ ifup eth1 # crontabs crontab -u martin - </dev/null EOF