Last active 6 months ago

Jan Wagner revised this gist 11 years ago. Go to revision

1 file changed, 1 insertion, 1 deletion

.bash_profile

@@ -1,5 +1,5 @@
1 1 # wget --no-check-certificate https://gist.github.com/waja/29b9e41113f6587fffb9/raw/squeeze-lts -O /etc/cron.daily/squeeze-lts && chmod +x /etc/cron.daily/squeeze-lts
2 - # wget --no-check-certificate https://gist.github.com/waja/29b9e41113f6587fffb9/raw/.bash_profile -O ~/.bash_profile
2 + # TMP=$(mktemp); wget --no-check-certificate https://gist.github.com/waja/29b9e41113f6587fffb9/raw/.bash_profile -O ${TMP} && grep -v "^#" ${TMP} >> ~/.bash_profile
3 3 if [ ! -f /tmp/motd.squeeze-lts.trail ]; then
4 4 sh /etc/cron.daily/squeeze-lts
5 5 fi

waja revised this gist 11 years ago. Go to revision

1 file changed, 1 insertion, 1 deletion

squeeze-lts

@@ -1,6 +1,6 @@
1 1 #!/bin/bash
2 2 if [ "`cat /etc/debian_version | awk -F. {'print $1"."$2'}`" = "6.0" ]; then
3 - if [ -x check-support-status]; then
3 + if [ -x /usr/bin/check-support-status ]; then
4 4 check-support-status | grep "^ - " > /tmp/motd.squeeze-lts.trail
5 5 fi
6 6 fi

waja revised this gist 11 years ago. Go to revision

1 file changed, 2 insertions

.bash_profile

@@ -1,3 +1,5 @@
1 + # wget --no-check-certificate https://gist.github.com/waja/29b9e41113f6587fffb9/raw/squeeze-lts -O /etc/cron.daily/squeeze-lts && chmod +x /etc/cron.daily/squeeze-lts
2 + # wget --no-check-certificate https://gist.github.com/waja/29b9e41113f6587fffb9/raw/.bash_profile -O ~/.bash_profile
1 3 if [ ! -f /tmp/motd.squeeze-lts.trail ]; then
2 4 sh /etc/cron.daily/squeeze-lts
3 5 fi

waja revised this gist 11 years ago. Go to revision

1 file changed, 5 insertions

.bash_profile(file created)

@@ -0,0 +1,5 @@
1 + if [ ! -f /tmp/motd.squeeze-lts.trail ]; then
2 + sh /etc/cron.daily/squeeze-lts
3 + fi
4 + echo ""; echo "Not supported packages by squeeze LTS (wiki.debian.org/LTS/Development):"; echo ""
5 + cat /tmp/motd.squeeze-lts.trail

waja revised this gist 11 years ago. Go to revision

1 file changed, 6 insertions

squeeze-lts(file created)

@@ -0,0 +1,6 @@
1 + #!/bin/bash
2 + if [ "`cat /etc/debian_version | awk -F. {'print $1"."$2'}`" = "6.0" ]; then
3 + if [ -x check-support-status]; then
4 + check-support-status | grep "^ - " > /tmp/motd.squeeze-lts.trail
5 + fi
6 + fi
Newer Older