From 563c19b2cc82950e302db4049b8d5afbe8e1aa92 Mon Sep 17 00:00:00 2001 From: Jinnan Wang Date: Tue, 18 Mar 2014 14:33:29 +0800 Subject: [PATCH] =?UTF-8?q?=09=E5=88=A0=E9=99=A4=E6=8A=80=E6=9C=AF?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E9=83=A8=E9=97=A8=E7=9A=84=E5=9B=9E=E6=94=B6?= =?UTF-8?q?=E7=AB=99=E6=9C=BA=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install_shell/set_recycling-station.sh | 46 ------------ install_shell/set_recycling-station.sh.bak | 83 ---------------------- setup.sh | 3 - 3 files changed, 132 deletions(-) delete mode 100755 install_shell/set_recycling-station.sh delete mode 100755 install_shell/set_recycling-station.sh.bak diff --git a/install_shell/set_recycling-station.sh b/install_shell/set_recycling-station.sh deleted file mode 100755 index 9c0e29f..0000000 --- a/install_shell/set_recycling-station.sh +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/bash -#set_recycling-station.sh -#Linux回收站,改写rm防止误删文件引起无法恢复 - -#Jincheng Ye -#2013/05/14 -#modified by Jincheng Ye,2013/10/28 -grep trash /root/.bashrc &> /dev/null -if [ $? -eq 0 ];then - echo "trash exist..." -else - -cat >> /root/.bashrc < /dev/null -if [ $? -eq 0 ];then - echo "trash exist..." -else - -cat >> /etc/profile <> ~/.bashrc <> /etc/csh.cshrc <