From 142628de91fb3620a08101da1abe17c12c7f0c32 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Sat, 13 Feb 2016 00:55:52 +0100 Subject: Delete unused script --- .mail.sieve | 11 +++++++++++ bin/facebook | 7 ------- mail.sieve | 11 ----------- 3 files changed, 11 insertions(+), 18 deletions(-) create mode 100644 .mail.sieve delete mode 100755 bin/facebook delete mode 100644 mail.sieve diff --git a/.mail.sieve b/.mail.sieve new file mode 100644 index 0000000..d7dd982 --- /dev/null +++ b/.mail.sieve @@ -0,0 +1,11 @@ +require ["fileinto"]; + +if address :is "To" "facebook@urbainvaes.com" +{ + fileinto :create "Drafts"; +} + +else +{ + keep; +} diff --git a/bin/facebook b/bin/facebook deleted file mode 100755 index 00ecdcc..0000000 --- a/bin/facebook +++ /dev/null @@ -1,7 +0,0 @@ -#! /bin/bash -line="127.0.0.1 www.facebook.com" -if grep -q "www.facebook.com" /etc/hosts; then - zenity --password | sudo -S bash -c "sed -i '/www.facebook.com/d' /etc/hosts" -else - zenity --password | sudo -S bash -c "echo ${line} >> /etc/hosts" -fi diff --git a/mail.sieve b/mail.sieve deleted file mode 100644 index d7dd982..0000000 --- a/mail.sieve +++ /dev/null @@ -1,11 +0,0 @@ -require ["fileinto"]; - -if address :is "To" "facebook@urbainvaes.com" -{ - fileinto :create "Drafts"; -} - -else -{ - keep; -} -- cgit v1.2.3