Browse Source

move to cat

master
Andrea Cimbalo 11 years ago
parent
commit
251ffdada3
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      fix-vm

+ 5
- 5
fix-vm View File

@ -1,7 +1,7 @@
#apt source
echo << 'EOF' > /etc/apt/sources.list.d/debian.list
cat << 'EOF' > /etc/apt/sources.list.d/debian.list
deb http://freedom.dicea.unifi.it/debian/ wheezy main
deb http://security.debian.org/ wheezy/updates main
deb http://freedom.dicea.unifi.it/debian/ wheezy-updates main
@ -23,15 +23,15 @@ apt-get install rsyslog -y -q
#email alias
if [ `grep -c "root: " /etc/aliases` -lt 1 ]; then
echo "root: roots@lilik.it" >> /etc/aliases
cat "root: roots@lilik.it" >> /etc/aliases
else
echo "alias for root alredy exists:"
cat "alias for root alredy exists:"
grep "root: " /etc/aliases
fi
apt-get install exim4 -y -q
echo << 'EOF' > /etc/exim4/update-exim4.conf.conf
cat << 'EOF' > /etc/exim4/update-exim4.conf.conf
# /etc/exim4/update-exim4.conf.conf
#
# Edit this file and /etc/mailname by hand and execute update-exim4.conf
@ -74,7 +74,7 @@ apt-get install cron-apt -y
sed -i 's/#[\t ]*dist-upgrade -y -o APT::Get::Show-Upgraded=true/dist-upgrade -y -o APT::Get::Show-Upgraded=true/g' /etc/locale.gen
echo << 'EOF' >/etc/cron-apt/config
cat << 'EOF' >/etc/cron-apt/config
# Configuration for cron-apt. For further information about the possible
# configuration settings see /usr/share/doc/cron-apt/README.gz.


Loading…
Cancel
Save