Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 24 Oct 2014, 17:49
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Eraser of pre-installed software in "Quirky - 1.40" ! script
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
postfs1


Joined: 27 Mar 2010
Posts: 831

PostPosted: Sat 19 Nov 2011, 18:19    Post_subject:  Eraser of pre-installed software in "Quirky - 1.40" ! script
Sub_title: Deletion of pre-installed software.
 

Arrow

Quote:

Install_DoPS--sr0.sh
Code:

#!/bin/bash
#
#DoPS = Deletion of Pre-installed Software
#
echo '[Desktop Entry]' > /usr/share/applications/DoPS1.desktop ;
echo 'Name=Deletion of Pre-installed Software' >> /usr/share/applications/DoPS1.desktop ;
echo 'Comment=The way to remove some programs' >> /usr/share/applications/DoPS1.desktop ;
#Don't touch >>>
#Exec=bash -c "echo \"/etc\" >/root/.packages/builtin_files/zzzz.telnet ; echo \" securetelnetrc\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/bin\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \" telnet\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/local\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/local/lib\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/local/lib/X11\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/local/lib/X11/mini-icons\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \" mini-telnet.xpm\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/sbin\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \" securetelnetshell\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/share\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/share/applications\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \" Secure-ssh-telnet.desktop\" >>/root/.packages/builtin_files/zzzz.telnet ; `Xdialog --title \"\"'\"Pre-installed\"'\" programs\" --no-tags --radiolist \"\"'\"Pre-installed\"'\" programs sometimes can be not needful at all.\" 11 70 10 \"sed -i \"'\"s/ off / on /g\"'\" /usr/local/bin/DoPS2\" \"Turn all switches ON\" on \"sed -i \"'\"s/ on / off /g\"'\" /usr/local/bin/DoPS2\" \"Turn all switches OFF\" on 2>&1`" ; sh /usr/local/bin/DoPS2 ; rox /usr/share/applications/DoPS3.desktop ; sleep 0.06s
grep '0.06s' /mnt/sr0/Deletion_of_Pre-installed_Software/Install_DoPS--sr0.sh | grep -v "Install_DoPS--sr0.sh" | sed 's/#//' | cat >> /usr/share/applications/DoPS1.desktop ;
#
echo 'Icon=/usr/local/lib/X11/themes/Smooth-Color/trashcan_empty48.png' >> /usr/share/applications/DoPS1.desktop ;
echo 'Terminal=false' >> /usr/share/applications/DoPS1.desktop ;
echo 'Type=Application' >> /usr/share/applications/DoPS1.desktop ;
echo 'Encoding=UTF-8' >> /usr/share/applications/DoPS1.desktop ;
echo 'Categories=X-SetupEntry' >> /usr/share/applications/DoPS1.desktop ;
#
# # #
#
#Don't touch >>>
#
echo -n >/usr/local/bin/DoPS2 ; chmod u+x /usr/local/bin/DoPS2 ;
#echo -n >/tmp/.tmp.ToRe ; ls /root/.packages/builtin_files/* | cut -f5 -d/ >/tmp/.lst.BuFi ; bash -c "`Xdialog --title \"\"'\"Pre-installed\"'\" programs\" --no-tags --separator \" \" --checklist \"\"'\"Pre-installed\"'\" programs sometimes can be not needful at all.\" 45 70 10 \"echo \`cat /tmp/.lst.BuFi | awk NR==2\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==2\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==3\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==3\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==4\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==4\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==5\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==5\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==8\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==8\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==15\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==15\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==17\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==17\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==24\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==24\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==29\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==29\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==30\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==30\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==34\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==34\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==37\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==37\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==42\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==42\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==43\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==43\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==45\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==45\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==49\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==49\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==56\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==56\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==57\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==57\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==59\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==59\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==64\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==64\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==69\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==69\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==70\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==70\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==71\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==71\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==72\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==72\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==74\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==74\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==76\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==76\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==77\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==77\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==80\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==80\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==100\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==100\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==110\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==110\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==111\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==111\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==112\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==112\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==113\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==113\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==119\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==119\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==125\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==125\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==127\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==127\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==128\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==128\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==133\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==133\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==137\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==137\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==139\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==139\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==141\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==141\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==142\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==142\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==146\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==146\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==151\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==151\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==155\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==155\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==156\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==156\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==165\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==165\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==180\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==180\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==186\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==186\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==195\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==195\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==209\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==209\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==211\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==211\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==212\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==212\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==216\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==216\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==218\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==218\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==225\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==225\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==226\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==226\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==227\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==227\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==230\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==230\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==237\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==237\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==242\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==242\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==243\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==243\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==246\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==246\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==247\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==247\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==249\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==249\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==254\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==254\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==257\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==257\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==262\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==262\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==263\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==263\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==264\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==264\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==265\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==265\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==266\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==266\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==267\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==267\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==273\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==273\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==274\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==274\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==275\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==275\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==276\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==276\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==280\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==280\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==281\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==281\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==283\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==283\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==284\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==284\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==285\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==285\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==287\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==287\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==289\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==289\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==292\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==292\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==296\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==296\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==298\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==298\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==300\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==300\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==301\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==301\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==302\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==302\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==309\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==309\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==311\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==311\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==312\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==312\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==313\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==313\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==320\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==320\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==321\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==321\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==322\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==322\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==326\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==326\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==327\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==327\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==329\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==329\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==330\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==330\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==334\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==334\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==336\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==336\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==349\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==349\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==350\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==350\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==352\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==352\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==353\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==353\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==357\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==357\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==358\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==358\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==360\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==360\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==362\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==362\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==363\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==363\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==370\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==370\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==371\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==371\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==372\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==372\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==373\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==373\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==374\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==374\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==376\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==376\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==377\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==377\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==379\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==379\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==385\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==385\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==387\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==387\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==390\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==390\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==391\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==391\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==395\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==395\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==400\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==400\`\" on 2>&1`" ; if [ -e /tmp/.lst.BuFi ] ; then rm /tmp/.lst.BuFi ; fi
grep 'NR==' /mnt/sr0/Deletion_of_Pre-installed_Software/Install_DoPS--sr0.sh | grep -v "Install_DoPS--sr0.sh" | sed 's/#//' | cat >> /usr/local/bin/DoPS2 ;
#
# # #
#
echo '[Desktop Entry]' > /usr/share/applications/DoPS3.desktop ;
echo 'Name=Deletion of Pre-installed Software' >> /usr/share/applications/DoPS3.desktop ;
echo 'Comment=The way to remove some programs' >> /usr/share/applications/DoPS3.desktop ;
#Don't touch >>>
#Exec=bash -c "sed -i \"s/^/cp \/root\/.packages\/builtin_files\//\" /tmp/.tmp.ToRe ; mkdir -p /tmp/deletion ; sed -i \"s/$/ \/tmp\/deletion\/ ;/\" /tmp/.tmp.ToRe ; chmod u+x /tmp/.tmp.ToRe ; sh /tmp/.tmp.ToRe ; sed -i\".tmp\" \"/^$/d\" /tmp/deletion/* ; rm /tmp/deletion/*.tmp ; sed -i \"s/ /rm /\" /tmp/deletion/* ; sed -i \"s/\//cd \//\" /tmp/deletion/* ; sed -i \"s/$/ ;/\" /tmp/deletion/* ; ls /tmp/deletion/* >/tmp/0_Remove.sh ; sed -i \"s/^/sh /\" /tmp/0_Remove.sh ; sed -i \"s/$/ ;/\" /tmp/0_Remove.sh ; chmod u+x /tmp/deletion/* /tmp/0_Remove.sh ; sh /tmp/0_Remove.sh ; cp /tmp/0_Remove.sh /tmp/00_Remove.sh ; sed -i\".tmp\" \"/rm /d\" /tmp/deletion/* ; rm /tmp/deletion/*.tmp ; sed -i \"s/cd \//rmdir \//\" /tmp/deletion/* ; sed -i \"s/sh /DiR=/\" /tmp/0_Remove.sh ; sed -i \"s/ ;/ \&\& awk '{print length, "'"\$\0"'"}' \$\DiR \| sort -rn \| cut -f2- -d\"'\" \"'\" > \$\DiR/\" /tmp/0_Remove.sh ; sh /tmp/0_Remove.sh ; sh /tmp/00_Remove.sh ; sed -i \"s/sh \/tmp\/deletion\/zzzz./find \/etc \/lib \/root \/usr \/var -type d -name */\" /tmp/00_Remove.sh ; sed -i \"s/sh \/tmp\/deletion\//find \/etc \/lib \/root \/usr \/var -type d -name */\" /tmp/00_Remove.sh ; echo -n >/tmp/000_Remove.sh ; sed -i \"s/ ;/* >>\/tmp\/000_Remove.sh ;/\" /tmp/00_Remove.sh ; sh /tmp/00_Remove.sh ; sed -i \"s/^/rm -r /\" /tmp/000_Remove.sh ; sed -i \"s/$/ ;/\" /tmp/000_Remove.sh ; sh /tmp/000_Remove.sh ; rm /tmp/.tmp.ToRe ; rm -r /tmp/deletion ; rm /tmp/0_Remove.sh ; rm /tmp/00_Remove.sh ; rm /tmp/000_Remove.sh ; rox -p=/root/Choices/ROX-Filer/PuppyPin ; fixmenus ; xmessage \"-=Deletion=- has been executed.\" `jwm -restart`"
grep '0_Remove.sh' /mnt/sr0/Deletion_of_Pre-installed_Software/Install_DoPS--sr0.sh | grep -v "Install_DoPS--sr0.sh" | sed 's/#//' | cat >> /usr/share/applications/DoPS3.desktop ;
#
echo 'Icon=/usr/local/lib/X11/themes/Smooth-Color/trashcan_empty48.png' >> /usr/share/applications/DoPS3.desktop ;
echo 'Terminal=false' >> /usr/share/applications/DoPS3.desktop ;
echo 'Type=Application' >> /usr/share/applications/DoPS3.desktop ;
echo 'Encoding=UTF-8' >> /usr/share/applications/DoPS3.desktop ;
echo 'Categories=no' >> /usr/share/applications/DoPS3.desktop ;
#
# # #
# Answers on Questions --->
#
echo '[Desktop Entry]' > /usr/share/applications/DoPS-q1.desktop ;
echo 'Name=Deletion of Pre-installed Software - Information' >> /usr/share/applications/DoPS-q1.desktop ;
echo 'Comment=The way to get an information about existance of some programs which were not removed' >> /usr/share/applications/DoPS-q1.desktop ;
#Don't touch >>>
#Exec=bash -c "echo \"/etc\" >/root/.packages/builtin_files/zzzz.telnet ; echo \" securetelnetrc\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/bin\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \" telnet\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/local\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/local/lib\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/local/lib/X11\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/local/lib/X11/mini-icons\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \" mini-telnet.xpm\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/sbin\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \" securetelnetshell\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/share\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/share/applications\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \" Secure-ssh-telnet.desktop\" >>/root/.packages/builtin_files/zzzz.telnet ; `Xdialog --title \"\"'\"Pre-installed\"'\" programs\" --no-tags --radiolist \"To know, what was not removed, show, what WAS removed.\" 11 70 10 \"sed -i \"'\"s/ off / on /g\"'\" /usr/local/bin/DoPS2\" \"Turn all switches ON\" on \"sed -i \"'\"s/ on / off /g\"'\" /usr/local/bin/DoPS2\" \"Turn all switches OFF\" on 2>&1`" ; sh /usr/local/bin/DoPS2 ; ls /root/.packages/builtin_files/ >/tmp/.A_bn_fls.txt ; diff --unchanged-line-format="" /tmp/.tmp.ToRe /tmp/.A_bn_fls.txt >/tmp/.0_Not_dltd_bn_fls.txt ; geany /tmp/.0_Not_dltd_bn_fls.txt ; sleep 1s ; rm /tmp/.A_bn_fls.txt /tmp/.0_Not_dltd_bn_fls.txt ; rm /tmp/.tmp.ToRe ; sleep 0.05s
grep 'sleep 0.05s' /mnt/sr0/Deletion_of_Pre-installed_Software/Install_DoPS--sr0.sh | grep -v "Install_DoPS--sr0.sh" | sed 's/#//' | cat >> /usr/share/applications/DoPS-q1.desktop ;
#
echo 'Icon=/usr/local/lib/X11/themes/Smooth-Color/trashcan_empty48.png' >> /usr/share/applications/DoPS-q1.desktop ;
echo 'Terminal=false' >> /usr/share/applications/DoPS-q1.desktop ;
echo 'Type=Application' >> /usr/share/applications/DoPS-q1.desktop ;
echo 'Encoding=UTF-8' >> /usr/share/applications/DoPS-q1.desktop ;
echo 'Categories=X-SetupEntry' >> /usr/share/applications/DoPS-q1.desktop ;
# <--- Answers on Questions
# # #
#
rox -p=/root/Choices/ROX-Filer/PuppyPin ;
fixmenus ;
xmessage "-=Deletion of Pre-installed Software=- program has been installed." `jwm -restart`


Edit: 2011, nov 19.


A script's content can be copied into text editor by means of <Quote> mode.

_________________
  • I don't know why laboratories are named a hospitals.
  • The alive personage is like a tea bag with granules of unknown density inside, at that one the packet was made of organic material and was placed in the evaporated liquid or liquid.

Back to top
View user's profile Send_private_message 
postfs1


Joined: 27 Mar 2010
Posts: 831

PostPosted: Sun 15 Jul 2012, 15:29    Post_subject:  

Arrow

Quote:

/mnt/sdb1/0_BackUp/0_INSTALL/Deletion_of_Pre-installed_Software/Install_DoPS_v2--sr0.sh
Code:

#!/bin/bash
#
#DoPS = Deletion of Pre-installed Software
#
#The reason of appearing of ANOTHER version of 'Install_DoPS--sr0.sh': messages in the 'xerrs.log' file.
#
# # #
#
echo '[Desktop Entry]' > /usr/share/applications/DoPS1_go.desktop ;
echo 'Name=Deletion of Pre-installed Software' >> /usr/share/applications/DoPS1_go.desktop ;
echo 'Comment=The way to remove some programs' >> /usr/share/applications/DoPS1_go.desktop ;
#Don't touch >>>
#Exec=bash -c 'bash -c "echo \"/etc\" >/root/.packages/builtin_files/zzzz.telnet ; echo \" securetelnetrc\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/bin\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \" telnet\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/local\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/local/lib\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/local/lib/X11\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/local/lib/X11/mini-icons\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \" mini-telnet.xpm\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/sbin\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \" securetelnetshell\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/share\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/share/applications\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \" Secure-ssh-telnet.desktop\" >>/root/.packages/builtin_files/zzzz.telnet" ; bash -c "`Xdialog --title \"\"'\''\"Pre-installed\"'\''\" programs\" --no-tags --radiolist \"\"'\''\"Pre-installed\"'\''\" programs sometimes can be not needful at all.\" 11 70 10 \"sed -i \"'\''\"s/ off / on /g\"'\''\" /usr/local/bin/DoPS2\" \"Turn all switches ON\" off \"sed -i \"'\''\"s/ on / off /g\"'\''\" /usr/local/bin/DoPS2\" \"Turn all switches OFF\" on 2>&1`" ; bash -c "sh /usr/local/bin/DoPS2 ; rox /usr/share/applications/DoPS3.desktop ; sleep 0.06s"'
grep '0.06s' /mnt/sdb1/0_BackUp/0_INSTALL/Deletion_of_Pre-installed_Software/Install_DoPS_v2--sr0.sh | grep -v "Install_DoPS_v2--sr0.sh" | sed 's/#//' | cat >> /usr/share/applications/DoPS1_go.desktop ;
#
echo 'Icon=/usr/local/lib/X11/themes/Smooth-Color/trashcan_empty48.png' >> /usr/share/applications/DoPS1_go.desktop ;
echo 'Terminal=false' >> /usr/share/applications/DoPS1_go.desktop ;
echo 'Type=Application' >> /usr/share/applications/DoPS1_go.desktop ;
echo 'Encoding=UTF-8' >> /usr/share/applications/DoPS1_go.desktop ;
echo 'Categories=no' >> /usr/share/applications/DoPS1_go.desktop ;
#
# # #
#
echo '[Desktop Entry]' > /usr/share/applications/DoPS1.desktop ;
echo 'Name=Deletion of Pre-installed Software' >> /usr/share/applications/DoPS1.desktop ;
echo 'Comment=The way to remove some programs' >> /usr/share/applications/DoPS1.desktop ;
echo 'Exec=rox /usr/share/applications/DoPS1_go.desktop' >> /usr/share/applications/DoPS1.desktop ;
echo 'Icon=/usr/local/lib/X11/themes/Smooth-Color/trashcan_empty48.png' >> /usr/share/applications/DoPS1.desktop ;
echo 'Terminal=false' >> /usr/share/applications/DoPS1.desktop ;
echo 'Type=Application' >> /usr/share/applications/DoPS1.desktop ;
echo 'Encoding=UTF-8' >> /usr/share/applications/DoPS1.desktop ;
echo 'Categories=X-SetupEntry' >> /usr/share/applications/DoPS1.desktop ;
#
# # #
#
#
# # #
#
#Don't touch >>>
#
echo -n >/usr/local/bin/DoPS2 ; chmod u+x /usr/local/bin/DoPS2 ;
#echo -n >/tmp/.tmp.ToRe ; ls /root/.packages/builtin_files/* | cut -f5 -d/ >/tmp/.lst.BuFi ; bash -c "`Xdialog --title \"\"'\"Pre-installed\"'\" programs\" --no-tags --separator \" \" --checklist \"\"'\"Pre-installed\"'\" programs sometimes can be not needful at all.\" 45 70 10 \"echo \`cat /tmp/.lst.BuFi | awk NR==2\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==2\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==3\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==3\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==4\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==4\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==5\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==5\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==8\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==8\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==15\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==15\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==17\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==17\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==24\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==24\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==29\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==29\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==30\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==30\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==34\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==34\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==37\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==37\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==42\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==42\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==43\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==43\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==45\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==45\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==49\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==49\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==56\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==56\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==57\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==57\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==59\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==59\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==64\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==64\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==69\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==69\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==70\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==70\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==71\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==71\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==72\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==72\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==74\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==74\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==76\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==76\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==77\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==77\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==80\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==80\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==100\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==100\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==110\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==110\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==111\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==111\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==112\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==112\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==113\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==113\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==119\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==119\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==125\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==125\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==127\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==127\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==128\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==128\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==133\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==133\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==137\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==137\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==139\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==139\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==141\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==141\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==142\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==142\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==146\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==146\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==151\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==151\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==155\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==155\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==156\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==156\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==165\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==165\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==180\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==180\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==186\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==186\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==195\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==195\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==209\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==209\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==211\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==211\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==212\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==212\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==216\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==216\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==218\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==218\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==225\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==225\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==226\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==226\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==227\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==227\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==230\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==230\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==237\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==237\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==242\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==242\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==243\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==243\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==246\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==246\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==247\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==247\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==249\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==249\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==254\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==254\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==257\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==257\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==262\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==262\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==263\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==263\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==264\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==264\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==265\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==265\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==266\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==266\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==267\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==267\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==273\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==273\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==274\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==274\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==275\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==275\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==276\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==276\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==280\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==280\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==281\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==281\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==283\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==283\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==284\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==284\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==285\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==285\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==287\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==287\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==289\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==289\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==292\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==292\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==296\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==296\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==298\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==298\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==300\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==300\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==301\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==301\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==302\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==302\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==309\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==309\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==311\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==311\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==312\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==312\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==313\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==313\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==320\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==320\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==321\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==321\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==322\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==322\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==326\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==326\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==327\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==327\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==329\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==329\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==330\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==330\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==334\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==334\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==336\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==336\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==349\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==349\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==350\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==350\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==352\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==352\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==353\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==353\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==357\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==357\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==358\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==358\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==360\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==360\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==362\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==362\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==363\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==363\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==370\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==370\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==371\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==371\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==372\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==372\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==373\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==373\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==374\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==374\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==376\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==376\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==377\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==377\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==379\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==379\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==385\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==385\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==387\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==387\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==390\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==390\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==391\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==391\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==395\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==395\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==400\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==400\`\" on 2>&1`" ; if [ -e /tmp/.lst.BuFi ] ; then rm /tmp/.lst.BuFi ; fi
grep 'NR==' /mnt/sdb1/0_BackUp/0_INSTALL/Deletion_of_Pre-installed_Software/Install_DoPS_v2--sr0.sh | grep -v "Install_DoPS_v2--sr0.sh" | sed 's/#//' | cat >> /usr/local/bin/DoPS2 ;
#
# # #
#
echo '[Desktop Entry]' > /usr/share/applications/DoPS3.desktop ;
echo 'Name=Deletion of Pre-installed Software' >> /usr/share/applications/DoPS3.desktop ;
echo 'Comment=The way to remove some programs' >> /usr/share/applications/DoPS3.desktop ;
#Don't touch >>>
#Exec=bash -c "sed -i \"s/^/cp \/root\/.packages\/builtin_files\//\" /tmp/.tmp.ToRe ; mkdir -p /tmp/deletion ; sed -i \"s/$/ \/tmp\/deletion\/ ;/\" /tmp/.tmp.ToRe ; chmod u+x /tmp/.tmp.ToRe ; sh /tmp/.tmp.ToRe ; sed -i\".tmp\" \"/^$/d\" /tmp/deletion/* ; rm /tmp/deletion/*.tmp ; sed -i \"s/ /rm /\" /tmp/deletion/* ; sed -i \"s/\//cd \//\" /tmp/deletion/* ; sed -i \"s/$/ ;/\" /tmp/deletion/* ; ls /tmp/deletion/* >/tmp/0_Remove.sh ; sed -i \"s/^/sh /\" /tmp/0_Remove.sh ; sed -i \"s/$/ ;/\" /tmp/0_Remove.sh ; chmod u+x /tmp/deletion/* /tmp/0_Remove.sh ; sh /tmp/0_Remove.sh ; cp /tmp/0_Remove.sh /tmp/00_Remove.sh ; sed -i\".tmp\" \"/rm /d\" /tmp/deletion/* ; rm /tmp/deletion/*.tmp ; sed -i \"s/cd \//rmdir \//\" /tmp/deletion/* ; sed -i \"s/sh /DiR=/\" /tmp/0_Remove.sh ; sed -i \"s/ ;/ \&\& awk '{print length, "'"\$\0"'"}' \$\DiR \| sort -rn \| cut -f2- -d\"'\" \"'\" > \$\DiR/\" /tmp/0_Remove.sh ; sh /tmp/0_Remove.sh ; sh /tmp/00_Remove.sh ; sed -i \"s/sh \/tmp\/deletion\/zzzz./find \/etc \/lib \/root \/usr \/var -type d -name */\" /tmp/00_Remove.sh ; sed -i \"s/sh \/tmp\/deletion\//find \/etc \/lib \/root \/usr \/var -type d -name */\" /tmp/00_Remove.sh ; echo -n >/tmp/000_Remove.sh ; sed -i \"s/ ;/* >>\/tmp\/000_Remove.sh ;/\" /tmp/00_Remove.sh ; sh /tmp/00_Remove.sh ; sed -i \"s/^/rm -r /\" /tmp/000_Remove.sh ; sed -i \"s/$/ ;/\" /tmp/000_Remove.sh ; sh /tmp/000_Remove.sh ; rm /tmp/.tmp.ToRe ; rm -r /tmp/deletion ; rm /tmp/0_Remove.sh ; rm /tmp/00_Remove.sh ; rm /tmp/000_Remove.sh ; rox -p=/root/Choices/ROX-Filer/PuppyPin ; fixmenus ; xmessage \"-=Deletion=- has been executed.\" `jwm -restart`"
grep '0_Remove.sh' /mnt/sdb1/0_BackUp/0_INSTALL/Deletion_of_Pre-installed_Software/Install_DoPS_v2--sr0.sh | grep -v "Install_DoPS_v2--sr0.sh" | sed 's/#//' | cat >> /usr/share/applications/DoPS3.desktop ;
#
echo 'Icon=/usr/local/lib/X11/themes/Smooth-Color/trashcan_empty48.png' >> /usr/share/applications/DoPS3.desktop ;
echo 'Terminal=false' >> /usr/share/applications/DoPS3.desktop ;
echo 'Type=Application' >> /usr/share/applications/DoPS3.desktop ;
echo 'Encoding=UTF-8' >> /usr/share/applications/DoPS3.desktop ;
echo 'Categories=no' >> /usr/share/applications/DoPS3.desktop ;
#
# # #
#
#
# # #
# Answers on Questions --->
#
echo '[Desktop Entry]' > /usr/share/applications/DoPS-q1_go.desktop ;
echo 'Name=Deletion of Pre-installed Software - Information' >> /usr/share/applications/DoPS-q1_go.desktop ;
echo 'Comment=The way to get an information about existance of some programs which were not removed' >> /usr/share/applications/DoPS-q1_go.desktop ;
#Don't touch >>>
#Exec=bash -c 'bash -c "echo \"/etc\" >/root/.packages/builtin_files/zzzz.telnet ; echo \" securetelnetrc\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/bin\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \" telnet\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/local\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/local/lib\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/local/lib/X11\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/local/lib/X11/mini-icons\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \" mini-telnet.xpm\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/sbin\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \" securetelnetshell\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/share\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/share/applications\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \" Secure-ssh-telnet.desktop\" >>/root/.packages/builtin_files/zzzz.telnet" ; bash -c "`Xdialog --title \"\"'\''\"Pre-installed\"'\''\" programs\" --no-tags --radiolist \"To know, what was not removed, show, what WAS removed.\" 11 70 10 \"sed -i \"'\''\"s/ off / on /g\"'\''\" /usr/local/bin/DoPS2\" \"Turn all switches ON\" off \"sed -i \"'\''\"s/ on / off /g\"'\''\" /usr/local/bin/DoPS2\" \"Turn all switches OFF\" on 2>&1`" ; bash -c "sh /usr/local/bin/DoPS2 ; ls /root/.packages/builtin_files/ >/tmp/.A_bn_fls.txt ; diff --unchanged-line-format=\"\" /tmp/.tmp.ToRe /tmp/.A_bn_fls.txt >/tmp/.0_Not_dltd_bn_fls.txt ; geany /tmp/.0_Not_dltd_bn_fls.txt ; sleep 1s ; rm /tmp/.A_bn_fls.txt /tmp/.0_Not_dltd_bn_fls.txt ; rm /tmp/.tmp.ToRe ; sleep 0.05s"'
grep 'sleep 0.05s' /mnt/sdb1/0_BackUp/0_INSTALL/Deletion_of_Pre-installed_Software/Install_DoPS_v2--sr0.sh | grep -v "Install_DoPS_v2--sr0.sh" | sed 's/#//' | cat >> /usr/share/applications/DoPS-q1_go.desktop ;
#
echo 'Icon=/usr/local/lib/X11/themes/Smooth-Color/trashcan_empty48.png' >> /usr/share/applications/DoPS-q1_go.desktop ;
echo 'Terminal=false' >> /usr/share/applications/DoPS-q1_go.desktop ;
echo 'Type=Application' >> /usr/share/applications/DoPS-q1_go.desktop ;
echo 'Encoding=UTF-8' >> /usr/share/applications/DoPS-q1_go.desktop ;
echo 'Categories=no' >> /usr/share/applications/DoPS-q1_go.desktop ;
#
# # #
#
echo '[Desktop Entry]' > /usr/share/applications/DoPS-q1.desktop ;
echo 'Name=Deletion of Pre-installed Software - Information' >> /usr/share/applications/DoPS-q1.desktop ;
echo 'Comment=The way to get an information about existance of some programs which were not removed' >> /usr/share/applications/DoPS-q1.desktop ;
echo 'Exec=rox /usr/share/applications/DoPS-q1_go.desktop' >> /usr/share/applications/DoPS-q1.desktop ;
echo 'Icon=/usr/local/lib/X11/themes/Smooth-Color/trashcan_empty48.png' >> /usr/share/applications/DoPS-q1.desktop ;
echo 'Terminal=false' >> /usr/share/applications/DoPS-q1.desktop ;
echo 'Type=Application' >> /usr/share/applications/DoPS-q1.desktop ;
echo 'Encoding=UTF-8' >> /usr/share/applications/DoPS-q1.desktop ;
echo 'Categories=X-SetupEntry' >> /usr/share/applications/DoPS-q1.desktop ;
# <--- Answers on Questions
# # #
#
#
# # #
#
rox -p=/root/Choices/ROX-Filer/PuppyPin ;
fixmenus ;
xmessage "-=Deletion of Pre-installed Software=- program has been installed." `jwm -restart`


Edit: 2012, jul 15.


A script's content can be copied into text editor by means of <Quote> mode.

_________________
  • I don't know why laboratories are named a hospitals.
  • The alive personage is like a tea bag with granules of unknown density inside, at that one the packet was made of organic material and was placed in the evaporated liquid or liquid.

Back to top
View user's profile Send_private_message 
postfs1


Joined: 27 Mar 2010
Posts: 831

PostPosted: Tue 14 Aug 2012, 06:03    Post_subject:  

Fresh version of script

Arrow

Quote:

Install_DoPS_v2--sr0.sh
Code:

#!/bin/bash
#
#DoPS = Deletion of Pre-installed Software
#
#The reason of appearing of ANOTHER version of 'Install_DoPS--sr0.sh': messages in the 'xerrs.log' file.
#
# # #
#
echo '[Desktop Entry]' > /usr/share/applications/DoPS1_go.desktop ;
echo 'Name=Deletion of Pre-installed Software' >> /usr/share/applications/DoPS1_go.desktop ;
echo 'Comment=The way to remove some programs' >> /usr/share/applications/DoPS1_go.desktop ;
#Don't touch >>>
#Exec=bash -c 'bash -c "echo \"/etc\" >/root/.packages/builtin_files/zzzz.telnet ; echo \" securetelnetrc\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/bin\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \" telnet\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/local\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/local/lib\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/local/lib/X11\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/local/lib/X11/mini-icons\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \" mini-telnet.xpm\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/sbin\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \" securetelnetshell\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/share\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/share/applications\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \" Secure-ssh-telnet.desktop\" >>/root/.packages/builtin_files/zzzz.telnet" ; bash -c "`Xdialog --title \"\"'\''\"Pre-installed\"'\''\" programs\" --no-tags --radiolist \"\"'\''\"Pre-installed\"'\''\" programs sometimes can be not needful at all.\" 11 70 10 \"sed -i \"'\''\"s/ off / on /g\"'\''\" /usr/local/bin/DoPS2\" \"Turn all switches ON\" off \"sed -i \"'\''\"s/ on / off /g\"'\''\" /usr/local/bin/DoPS2\" \"Turn all switches OFF\" on 2>&1`" ; bash -c "sh /usr/local/bin/DoPS2 ; rox /usr/share/applications/DoPS3.desktop ; sleep 0.06s"'
grep '0.06s' /mnt/sr0/_Files/Deletion_of_Pre-installed_Software/Install_DoPS_v2--sr0.sh | grep -v "Install_DoPS_v2--sr0.sh" | sed 's/#//' | cat >> /usr/share/applications/DoPS1_go.desktop ;
#
echo 'Icon=/usr/local/lib/X11/themes/Smooth-Color/trashcan_empty48.png' >> /usr/share/applications/DoPS1_go.desktop ;
echo 'Terminal=false' >> /usr/share/applications/DoPS1_go.desktop ;
echo 'Type=Application' >> /usr/share/applications/DoPS1_go.desktop ;
echo 'Encoding=UTF-8' >> /usr/share/applications/DoPS1_go.desktop ;
echo 'Categories=no' >> /usr/share/applications/DoPS1_go.desktop ;
#
# # #
#
echo '[Desktop Entry]' > /usr/share/applications/DoPS1.desktop ;
echo 'Name=Deletion of Pre-installed Software' >> /usr/share/applications/DoPS1.desktop ;
echo 'Comment=The way to remove some programs' >> /usr/share/applications/DoPS1.desktop ;
echo 'Exec=rox /usr/share/applications/DoPS1_go.desktop' >> /usr/share/applications/DoPS1.desktop ;
echo 'Icon=/usr/local/lib/X11/themes/Smooth-Color/trashcan_empty48.png' >> /usr/share/applications/DoPS1.desktop ;
echo 'Terminal=false' >> /usr/share/applications/DoPS1.desktop ;
echo 'Type=Application' >> /usr/share/applications/DoPS1.desktop ;
echo 'Encoding=UTF-8' >> /usr/share/applications/DoPS1.desktop ;
echo 'Categories=X-SetupEntry' >> /usr/share/applications/DoPS1.desktop ;
#
# # #
#
#
# # #
#
#Don't touch >>>
#
echo -n >/usr/local/bin/DoPS2 ; chmod u+x /usr/local/bin/DoPS2 ;
#echo -n >/tmp/.tmp.ToRe ; ls /root/.packages/builtin_files/* | cut -f5 -d/ >/tmp/.lst.BuFi ; bash -c "`Xdialog --title \"\"'\"Pre-installed\"'\" programs\" --no-tags --separator \" \" --checklist \"\"'\"Pre-installed\"'\" programs sometimes can be not needful at all.\" 45 70 10 \"echo \`cat /tmp/.lst.BuFi | awk NR==2\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==2\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==3\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==3\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==4\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==4\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==5\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==5\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==8\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==8\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==15\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==15\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==17\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==17\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==24\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==24\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==29\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==29\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==30\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==30\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==34\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==34\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==37\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==37\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==42\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==42\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==43\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==43\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==45\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==45\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==49\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==49\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==56\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==56\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==57\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==57\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==59\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==59\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==64\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==64\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==69\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==69\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==70\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==70\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==71\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==71\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==72\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==72\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==74\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==74\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==76\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==76\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==77\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==77\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==80\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==80\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==100\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==100\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==110\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==110\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==111\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==111\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==112\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==112\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==113\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==113\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==119\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==119\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==125\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==125\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==127\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==127\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==128\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==128\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==133\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==133\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==137\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==137\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==139\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==139\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==141\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==141\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==142\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==142\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==146\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==146\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==151\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==151\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==155\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==155\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==156\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==156\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==165\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==165\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==180\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==180\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==186\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==186\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==195\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==195\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==209\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==209\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==211\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==211\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==212\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==212\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==216\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==216\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==218\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==218\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==225\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==225\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==226\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==226\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==227\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==227\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==230\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==230\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==237\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==237\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==242\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==242\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==243\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==243\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==246\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==246\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==247\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==247\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==249\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==249\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==254\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==254\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==257\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==257\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==262\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==262\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==263\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==263\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==264\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==264\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==265\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==265\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==266\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==266\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==267\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==267\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==273\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==273\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==274\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==274\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==275\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==275\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==276\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==276\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==280\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==280\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==281\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==281\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==283\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==283\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==284\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==284\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==285\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==285\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==287\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==287\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==289\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==289\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==292\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==292\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==296\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==296\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==298\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==298\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==300\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==300\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==301\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==301\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==302\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==302\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==309\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==309\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==311\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==311\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==312\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==312\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==313\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==313\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==320\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==320\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==321\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==321\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==322\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==322\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==326\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==326\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==327\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==327\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==329\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==329\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==330\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==330\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==334\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==334\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==336\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==336\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==349\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==349\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==350\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==350\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==352\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==352\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==353\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==353\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==357\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==357\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==358\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==358\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==360\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==360\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==362\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==362\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==363\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==363\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==370\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==370\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==371\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==371\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==372\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==372\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==373\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==373\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==374\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==374\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==376\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==376\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==377\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==377\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==379\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==379\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==385\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==385\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==387\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==387\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==390\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==390\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==391\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==391\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==395\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==395\`\" on \
#\"echo \`cat /tmp/.lst.BuFi | awk NR==400\` >>/tmp/.tmp.ToRe ;\" \"\`cat /tmp/.lst.BuFi | awk NR==400\`\" on 2>&1`" ; if [ -e /tmp/.lst.BuFi ] ; then rm /tmp/.lst.BuFi ; fi
grep 'NR==' /mnt/sr0/_Files/Deletion_of_Pre-installed_Software/Install_DoPS_v2--sr0.sh | grep -v "Install_DoPS_v2--sr0.sh" | sed 's/#//' | cat >> /usr/local/bin/DoPS2 ;
#
# # #
#
echo '[Desktop Entry]' > /usr/share/applications/DoPS3.desktop ;
echo 'Name=Deletion of Pre-installed Software' >> /usr/share/applications/DoPS3.desktop ;
echo 'Comment=The way to remove some programs' >> /usr/share/applications/DoPS3.desktop ;
#Don't touch >>>
#Exec=bash -c "sed -i \"s/^/cp \/root\/.packages\/builtin_files\//\" /tmp/.tmp.ToRe ; mkdir -p /tmp/deletion ; sed -i \"s/$/ \/tmp\/deletion\/ ;/\" /tmp/.tmp.ToRe ; chmod u+x /tmp/.tmp.ToRe ; sh /tmp/.tmp.ToRe ; sed -i\".tmp\" \"/^$/d\" /tmp/deletion/* ; rm /tmp/deletion/*.tmp ; sed -i \"s/ /rm /\" /tmp/deletion/* ; sed -i \"s/\//cd \//\" /tmp/deletion/* ; sed -i \"s/$/ ;/\" /tmp/deletion/* ; ls /tmp/deletion/* >/tmp/0_Remove.sh ; sed -i \"s/^/sh /\" /tmp/0_Remove.sh ; sed -i \"s/$/ ;/\" /tmp/0_Remove.sh ; chmod u+x /tmp/deletion/* /tmp/0_Remove.sh ; sh /tmp/0_Remove.sh ; cp /tmp/0_Remove.sh /tmp/00_Remove.sh ; sed -i\".tmp\" \"/rm /d\" /tmp/deletion/* ; rm /tmp/deletion/*.tmp ; sed -i \"s/cd \//rmdir \//\" /tmp/deletion/* ; sed -i \"s/sh /DiR=/\" /tmp/0_Remove.sh ; sed -i \"s/ ;/ \&\& awk '{print length, "'"\$\0"'"}' \$\DiR \| sort -rn \| cut -f2- -d\"'\" \"'\" > \$\DiR/\" /tmp/0_Remove.sh ; sh /tmp/0_Remove.sh ; sh /tmp/00_Remove.sh ; sed -i \"s/sh \/tmp\/deletion\/zzzz./find \/etc \/lib \/root \/usr \/var -type d -name */\" /tmp/00_Remove.sh ; sed -i \"s/sh \/tmp\/deletion\//find \/etc \/lib \/root \/usr \/var -type d -name */\" /tmp/00_Remove.sh ; echo -n >/tmp/000_Remove.sh ; sed -i \"s/ ;/* >>\/tmp\/000_Remove.sh ;/\" /tmp/00_Remove.sh ; sh /tmp/00_Remove.sh ; sed -i \"s/^/rm -r /\" /tmp/000_Remove.sh ; sed -i \"s/$/ ;/\" /tmp/000_Remove.sh ; sh /tmp/000_Remove.sh ; rm /tmp/.tmp.ToRe ; rm -r /tmp/deletion ; rm /tmp/0_Remove.sh ; rm /tmp/00_Remove.sh ; rm /tmp/000_Remove.sh ; rox -p=/root/Choices/ROX-Filer/PuppyPin ; fixmenus ; xmessage \"-=Deletion=- has been executed.\" `jwm -restart`"
grep '0_Remove.sh' /mnt/sr0/_Files/Deletion_of_Pre-installed_Software/Install_DoPS_v2--sr0.sh | grep -v "Install_DoPS_v2--sr0.sh" | sed 's/#//' | cat >> /usr/share/applications/DoPS3.desktop ;
#
echo 'Icon=/usr/local/lib/X11/themes/Smooth-Color/trashcan_empty48.png' >> /usr/share/applications/DoPS3.desktop ;
echo 'Terminal=false' >> /usr/share/applications/DoPS3.desktop ;
echo 'Type=Application' >> /usr/share/applications/DoPS3.desktop ;
echo 'Encoding=UTF-8' >> /usr/share/applications/DoPS3.desktop ;
echo 'Categories=no' >> /usr/share/applications/DoPS3.desktop ;
#
# # #
#
#
# # #
# Answers on Questions --->
#
echo '[Desktop Entry]' > /usr/share/applications/DoPS-q1_go.desktop ;
echo 'Name=Deletion of Pre-installed Software - Information' >> /usr/share/applications/DoPS-q1_go.desktop ;
echo 'Comment=The way to get an information about existance of some programs which were not removed' >> /usr/share/applications/DoPS-q1_go.desktop ;
#Don't touch >>>
#Exec=bash -c 'bash -c "echo \"/etc\" >/root/.packages/builtin_files/zzzz.telnet ; echo \" securetelnetrc\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/bin\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \" telnet\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/local\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/local/lib\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/local/lib/X11\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/local/lib/X11/mini-icons\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \" mini-telnet.xpm\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/sbin\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \" securetelnetshell\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/share\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \"/usr/share/applications\" >>/root/.packages/builtin_files/zzzz.telnet ; echo \" Secure-ssh-telnet.desktop\" >>/root/.packages/builtin_files/zzzz.telnet" ; bash -c "`Xdialog --title \"\"'\''\"Pre-installed\"'\''\" programs\" --no-tags --radiolist \"To know, what was not removed, show, what WAS removed.\" 11 70 10 \"sed -i \"'\''\"s/ off / on /g\"'\''\" /usr/local/bin/DoPS2\" \"Turn all switches ON\" off \"sed -i \"'\''\"s/ on / off /g\"'\''\" /usr/local/bin/DoPS2\" \"Turn all switches OFF\" on 2>&1`" ; bash -c "sh /usr/local/bin/DoPS2 ; ls /root/.packages/builtin_files/ >/tmp/.A_bn_fls.txt ; diff --unchanged-line-format=\"\" /tmp/.tmp.ToRe /tmp/.A_bn_fls.txt >/tmp/.0_Not_dltd_bn_fls.txt ; geany /tmp/.0_Not_dltd_bn_fls.txt ; sleep 1s ; rm /tmp/.A_bn_fls.txt /tmp/.0_Not_dltd_bn_fls.txt ; rm /tmp/.tmp.ToRe ; sleep 0.05s"'
grep 'sleep 0.05s' /mnt/sr0/_Files/Deletion_of_Pre-installed_Software/Install_DoPS_v2--sr0.sh | grep -v "Install_DoPS_v2--sr0.sh" | sed 's/#//' | cat >> /usr/share/applications/DoPS-q1_go.desktop ;
#
echo 'Icon=/usr/local/lib/X11/themes/Smooth-Color/trashcan_empty48.png' >> /usr/share/applications/DoPS-q1_go.desktop ;
echo 'Terminal=false' >> /usr/share/applications/DoPS-q1_go.desktop ;
echo 'Type=Application' >> /usr/share/applications/DoPS-q1_go.desktop ;
echo 'Encoding=UTF-8' >> /usr/share/applications/DoPS-q1_go.desktop ;
echo 'Categories=no' >> /usr/share/applications/DoPS-q1_go.desktop ;
#
# # #
#
echo '[Desktop Entry]' > /usr/share/applications/DoPS-q1.desktop ;
echo 'Name=Deletion of Pre-installed Software - Information' >> /usr/share/applications/DoPS-q1.desktop ;
echo 'Comment=The way to get an information about existance of some programs which were not removed' >> /usr/share/applications/DoPS-q1.desktop ;
echo 'Exec=rox /usr/share/applications/DoPS-q1_go.desktop' >> /usr/share/applications/DoPS-q1.desktop ;
echo 'Icon=/usr/local/lib/X11/themes/Smooth-Color/trashcan_empty48.png' >> /usr/share/applications/DoPS-q1.desktop ;
echo 'Terminal=false' >> /usr/share/applications/DoPS-q1.desktop ;
echo 'Type=Application' >> /usr/share/applications/DoPS-q1.desktop ;
echo 'Encoding=UTF-8' >> /usr/share/applications/DoPS-q1.desktop ;
echo 'Categories=X-SetupEntry' >> /usr/share/applications/DoPS-q1.desktop ;
# <--- Answers on Questions
# # #
#
#
# # #
#
rox -p=/root/Choices/ROX-Filer/PuppyPin ;
fixmenus ;
xmessage "-=Deletion of Pre-installed Software=- program has been installed." `jwm -restart`


Edit: 2012, aug 14.

_________________
  • I don't know why laboratories are named a hospitals.
  • The alive personage is like a tea bag with granules of unknown density inside, at that one the packet was made of organic material and was placed in the evaporated liquid or liquid.

Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2977s ][ Queries: 12 (0.0076s) ][ GZIP on ]