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 28 Nov 2014, 07:26
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
"GParted-0.4.5" in "Quirky Linux 1.40" ! only script
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
postfs1


Joined: 27 Mar 2010
Posts: 831

PostPosted: Fri 09 Dec 2011, 23:54    Post subject:  "GParted-0.4.5" in "Quirky Linux 1.40" ! only script
Subject description: Tool to edit the HDD partitions.
 

If the "GParted" program has been removed, and the need to edit HDD partitions has been appeared.

Arrow

Quote:

Install_GParted--sr0.sh
Code:

#!/bin/bash
#
cd /room ;
#
curl -C - -O file:///mnt/sr0/_Files/GParted/Ubuntu-Karmic_files/gparted_0.4.5-2ubuntu1_i386.deb ;
if [ ! `echo -e "75ca0c7c837cd40f0c00c7d25be5e9cb  gparted_0.4.5-2ubuntu1_i386.deb" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
/usr/local/petget/installpkg.sh gparted_0.4.5-2ubuntu1_i386.deb 2>/dev/null  ;
sleep 0.5s ;
rm /room/gparted_0.4.5-2ubuntu1_i386.deb ;
rm /room/.md-5.sm ;
#deb1
curl -C - -O file:///mnt/sr0/_Files/GParted/Ubuntu-Karmic_files/libparted1.8-12_1.8.8.git.2009.06.03-1ubuntu6_i386.deb ;
if [ ! `echo -e "926a1ddf72da5d196aef4b22b6c50dc0  libparted1.8-12_1.8.8.git.2009.06.03-1ubuntu6_i386.deb" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
/usr/local/petget/installpkg.sh libparted1.8-12_1.8.8.git.2009.06.03-1ubuntu6_i386.deb 2>/dev/null  ;
sleep 0.5s ;
rm /room/libparted1.8-12_1.8.8.git.2009.06.03-1ubuntu6_i386.deb ;
rm /room/.md-5.sm ;
#deb2
curl -C - -O file:///mnt/sr0/_Files/GParted/Fedora-11_files/gtkmm24-2.16.0-1.fc11.i586.rpm ;
if [ ! `echo -e "44d312d2fbcf73daa238874c9d162f9e  gtkmm24-2.16.0-1.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i gtkmm24-2.16.0-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/gtkmm24-2.16.0-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#1
curl -C - -O file:///mnt/sr0/_Files/GParted/Fedora-11_files/glibmm24-2.20.2-1.fc11.i586.rpm ;
if [ ! `echo -e "258794edb299ebc72b6511f453d230fd  glibmm24-2.20.2-1.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i glibmm24-2.20.2-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/glibmm24-2.20.2-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#2
curl -C - -O file:///mnt/sr0/_Files/GParted/Fedora-11_files/pangomm-2.24.0-1.fc11.i586.rpm ;
if [ ! `echo -e "90c36daecf5444ea7238355d1f1b432a  pangomm-2.24.0-1.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i pangomm-2.24.0-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/pangomm-2.24.0-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#3
curl -C - -O file:///mnt/sr0/_Files/GParted/Fedora-11_files/cairomm-1.8.0-1.fc11.i586.rpm ;
if [ ! `echo -e "3bcb22fe5d115b9543e8b8a76b845b03  cairomm-1.8.0-1.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i cairomm-1.8.0-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/cairomm-1.8.0-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#4
curl -C - -O file:///mnt/sr0/_Files/GParted/Ubuntu-Karmic_files/libdevmapper1.02.1_1.02.27-4ubuntu7_i386.deb ;
if [ ! `echo -e "920c9007ea67cd25369120b179adfc5f  libdevmapper1.02.1_1.02.27-4ubuntu7_i386.deb" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
/usr/local/petget/installpkg.sh libdevmapper1.02.1_1.02.27-4ubuntu7_i386.deb 2>/dev/null  ;
sleep 0.5s ;
rm /room/libdevmapper1.02.1_1.02.27-4ubuntu7_i386.deb ;
rm /room/.md-5.sm ;
#deb3
curl -C - -O file:///mnt/sr0/_Files/GParted/Fedora-11_files/libstdc++-4.4.1-2.fc11.i586.rpm ;
if [ ! `echo -e "96c934cb092bf073ace9c10cce025f44  libstdc++-4.4.1-2.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i libstdc++-4.4.1-2.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/libstdc++-4.4.1-2.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#5
curl -C - -O file:///mnt/sr0/_Files/GParted/Ubuntu-Karmic_files/parted_1.8.8.git.2009.06.03-1ubuntu6_i386.deb ;
if [ ! `echo -e "7eb64df5a28453bf439b078b01a0102c  parted_1.8.8.git.2009.06.03-1ubuntu6_i386.deb" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
/usr/local/petget/installpkg.sh parted_1.8.8.git.2009.06.03-1ubuntu6_i386.deb 2>/dev/null  ;
sleep 0.5s ;
rm /room/parted_1.8.8.git.2009.06.03-1ubuntu6_i386.deb ;
rm /room/.md-5.sm ;
#deb4
curl -C - -O file:///mnt/sr0/_Files/GParted/Fedora-11_files/libselinux-2.0.80-1.fc11.i586.rpm ;
if [ ! `echo -e "a33dd8be6e63530f3babeec2e3c03019  libselinux-2.0.80-1.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i libselinux-2.0.80-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/libselinux-2.0.80-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#6
#
rm /usr/share/applications/gparted.desktop ;
rm /usr/share/applications/GParted-partition-manager.desktop ;
#
echo '[Desktop Entry]' > /usr/share/applications/GParted.desktop ;
echo 'Encoding=UTF-8' >> /usr/share/applications/GParted.desktop ;
echo 'Name=GParted partition manager' >> /usr/share/applications/GParted.desktop ;
echo 'Icon=/usr/share/icons/hicolor/48x48/apps/gparted.png' >> /usr/share/applications/GParted.desktop ;
echo 'Comment=GParted partition manager' >> /usr/share/applications/GParted.desktop ;
echo 'Exec=gpartedbin' >> /usr/share/applications/GParted.desktop ;
echo 'Terminal=false' >> /usr/share/applications/GParted.desktop ;
echo 'Type=Application' >> /usr/share/applications/GParted.desktop ;
echo 'Categories=X-SystemMemory' >> /usr/share/applications/GParted.desktop ;
echo 'GenericName=GParted partition manager' >> /usr/share/applications/GParted.desktop ;
#
fixmenus ;
xmessage "-=GParted-0.4.5=- has been installed." `jwm -display :0.0 -restart` ;
rox --pinboard=/root/Choices/ROX-Filer/PuppyPin ;


Edit: 2011, dec 10.


Permissions for -=Install_GParted--sr0.sh=- were changed as shown:
Code:

cd /place_where_Install_GParted--sr0.sh_is_located ; chmod u+x Install_GParted--sr0.sh


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.


Last edited by postfs1 on Sat 01 Nov 2014, 17:51; edited 1 time in total
Back to top
View user's profile Send private message 
postfs1


Joined: 27 Mar 2010
Posts: 831

PostPosted: Sat 18 Aug 2012, 15:05    Post subject:
Subject description: Fresh variant of installation
 

INSTALLATION --->
Quote:

Install_GParted--sr0.sh
Code:

#!/bin/bash
#
mkdir -m 0500 -p /room ;
cd /room ;
#
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'gparted_0.4.5-2ubuntu1_i386.deb..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "gparted_0.4.5-2ubuntu1_i386.deb..rm" >/usr/local/etc/GParted.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/GParted/Ubuntu-Karmic_files/gparted_0.4.5-2ubuntu1_i386.deb ;
if [ ! `echo -e "75ca0c7c837cd40f0c00c7d25be5e9cb  gparted_0.4.5-2ubuntu1_i386.deb" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
/usr/local/petget/installpkg.sh gparted_0.4.5-2ubuntu1_i386.deb 2>/dev/null  ;
sleep 0.5s ;
echo "gparted_0.4.5-2ubuntu1_i386.deb..rm" >/usr/local/etc/GParted.dsktop ;
rm /room/gparted_0.4.5-2ubuntu1_i386.deb ;
rm /room/.md-5.sm ;
#
rm /usr/share/applications/gparted.desktop ;
rm /usr/share/applications/GParted-partition-manager.desktop ;
#
fi ;
#deb1
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'libparted1.8-12_1.8.8.git.2009.06.03-1ubuntu6_i386.deb..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "libparted1.8-12_1.8.8.git.2009.06.03-1ubuntu6_i386.deb..rm" >>/usr/local/etc/GParted.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/GParted/Ubuntu-Karmic_files/libparted1.8-12_1.8.8.git.2009.06.03-1ubuntu6_i386.deb ;
if [ ! `echo -e "926a1ddf72da5d196aef4b22b6c50dc0  libparted1.8-12_1.8.8.git.2009.06.03-1ubuntu6_i386.deb" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
/usr/local/petget/installpkg.sh libparted1.8-12_1.8.8.git.2009.06.03-1ubuntu6_i386.deb 2>/dev/null  ;
sleep 0.5s ;
echo "libparted1.8-12_1.8.8.git.2009.06.03-1ubuntu6_i386.deb..rm" >>/usr/local/etc/GParted.dsktop ;
rm /room/libparted1.8-12_1.8.8.git.2009.06.03-1ubuntu6_i386.deb ;
rm /room/.md-5.sm ;
fi ;
#deb2
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'gtkmm24-2.16.0-1.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "gtkmm24-2.16.0-1.fc11.i586.rpm..rm" >>/usr/local/etc/GParted.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/GParted/Fedora-11_files/gtkmm24-2.16.0-1.fc11.i586.rpm ;
if [ ! `echo -e "44d312d2fbcf73daa238874c9d162f9e  gtkmm24-2.16.0-1.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i gtkmm24-2.16.0-1.fc11.i586.rpm ;
sleep 0.5s ;
echo "gtkmm24-2.16.0-1.fc11.i586.rpm..rm" >>/usr/local/etc/GParted.dsktop ;
rm /room/gtkmm24-2.16.0-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#1
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'glibmm24-2.20.2-1.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "glibmm24-2.20.2-1.fc11.i586.rpm..rm" >>/usr/local/etc/GParted.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/GParted/Fedora-11_files/glibmm24-2.20.2-1.fc11.i586.rpm ;
if [ ! `echo -e "258794edb299ebc72b6511f453d230fd  glibmm24-2.20.2-1.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i glibmm24-2.20.2-1.fc11.i586.rpm ;
sleep 0.5s ;
echo "glibmm24-2.20.2-1.fc11.i586.rpm..rm" >>/usr/local/etc/GParted.dsktop ;
rm /room/glibmm24-2.20.2-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#2
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'pangomm-2.24.0-1.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "pangomm-2.24.0-1.fc11.i586.rpm..rm" >>/usr/local/etc/GParted.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/GParted/Fedora-11_files/pangomm-2.24.0-1.fc11.i586.rpm ;
if [ ! `echo -e "90c36daecf5444ea7238355d1f1b432a  pangomm-2.24.0-1.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i pangomm-2.24.0-1.fc11.i586.rpm ;
sleep 0.5s ;
echo "pangomm-2.24.0-1.fc11.i586.rpm..rm" >>/usr/local/etc/GParted.dsktop ;
rm /room/pangomm-2.24.0-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#3
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'cairomm-1.8.0-1.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "cairomm-1.8.0-1.fc11.i586.rpm..rm" >>/usr/local/etc/GParted.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/GParted/Fedora-11_files/cairomm-1.8.0-1.fc11.i586.rpm ;
if [ ! `echo -e "3bcb22fe5d115b9543e8b8a76b845b03  cairomm-1.8.0-1.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i cairomm-1.8.0-1.fc11.i586.rpm ;
sleep 0.5s ;
echo "cairomm-1.8.0-1.fc11.i586.rpm..rm" >>/usr/local/etc/GParted.dsktop ;
rm /room/cairomm-1.8.0-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#4
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'libdevmapper1.02.1_1.02.27-4ubuntu7_i386.deb..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "libdevmapper1.02.1_1.02.27-4ubuntu7_i386.deb..rm" >>/usr/local/etc/GParted.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/GParted/Ubuntu-Karmic_files/libdevmapper1.02.1_1.02.27-4ubuntu7_i386.deb ;
if [ ! `echo -e "920c9007ea67cd25369120b179adfc5f  libdevmapper1.02.1_1.02.27-4ubuntu7_i386.deb" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
/usr/local/petget/installpkg.sh libdevmapper1.02.1_1.02.27-4ubuntu7_i386.deb 2>/dev/null  ;
sleep 0.5s ;
echo "libdevmapper1.02.1_1.02.27-4ubuntu7_i386.deb..rm" >>/usr/local/etc/GParted.dsktop ;
rm /room/libdevmapper1.02.1_1.02.27-4ubuntu7_i386.deb ;
rm /room/.md-5.sm ;
fi ;
#deb3
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -l 'libstdc++-4.4.1-2.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | wc -l` -gt 0 ] ;
then sleep 0.5s ; else
curl -C - -O file:///mnt/sr0/_Files/GParted/Fedora-11_files/libstdc++-4.4.1-2.fc11.i586.rpm ;
if [ ! `echo -e "96c934cb092bf073ace9c10cce025f44  libstdc++-4.4.1-2.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i libstdc++-4.4.1-2.fc11.i586.rpm ;
sleep 0.5s ;
echo "libstdc++-4.4.1-2.fc11.i586.rpm..rm" >>/usr/local/etc/GParted.dsktop ;
rm /room/libstdc++-4.4.1-2.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#
echo "libstdc++-4.4.1-2.fc11.i586.rpm..rm" >>/usr/local/etc/built-in.dsktop ;
fi ;
#5
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'parted_1.8.8.git.2009.06.03-1ubuntu6_i386.deb..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "parted_1.8.8.git.2009.06.03-1ubuntu6_i386.deb..rm" >>/usr/local/etc/GParted.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/GParted/Ubuntu-Karmic_files/parted_1.8.8.git.2009.06.03-1ubuntu6_i386.deb ;
if [ ! `echo -e "7eb64df5a28453bf439b078b01a0102c  parted_1.8.8.git.2009.06.03-1ubuntu6_i386.deb" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
/usr/local/petget/installpkg.sh parted_1.8.8.git.2009.06.03-1ubuntu6_i386.deb 2>/dev/null  ;
sleep 0.5s ;
echo "parted_1.8.8.git.2009.06.03-1ubuntu6_i386.deb..rm" >>/usr/local/etc/GParted.dsktop ;
rm /room/parted_1.8.8.git.2009.06.03-1ubuntu6_i386.deb ;
rm /room/.md-5.sm ;
fi ;
#deb4
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'libselinux-2.0.80-1.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "libselinux-2.0.80-1.fc11.i586.rpm..rm" >>/usr/local/etc/GParted.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/GParted/Fedora-11_files/libselinux-2.0.80-1.fc11.i586.rpm ;
if [ ! `echo -e "a33dd8be6e63530f3babeec2e3c03019  libselinux-2.0.80-1.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i libselinux-2.0.80-1.fc11.i586.rpm ;
sleep 0.5s ;
echo "libselinux-2.0.80-1.fc11.i586.rpm..rm" >>/usr/local/etc/GParted.dsktop ;
rm /room/libselinux-2.0.80-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#6
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
echo '[Desktop Entry]' > /usr/share/applications/GParted.desktop ;
echo 'Encoding=UTF-8' >> /usr/share/applications/GParted.desktop ;
echo 'Name=GParted partition manager' >> /usr/share/applications/GParted.desktop ;
echo 'Icon=/usr/share/icons/hicolor/48x48/apps/gparted.png' >> /usr/share/applications/GParted.desktop ;
echo 'Comment=GParted partition manager' >> /usr/share/applications/GParted.desktop ;
echo 'Exec=gpartedbin' >> /usr/share/applications/GParted.desktop ;
echo 'Terminal=false' >> /usr/share/applications/GParted.desktop ;
echo 'Type=Application' >> /usr/share/applications/GParted.desktop ;
echo 'Categories=X-SystemMemory' >> /usr/share/applications/GParted.desktop ;
echo 'GenericName=GParted partition manager' >> /usr/share/applications/GParted.desktop ;
#
fixmenus ;
xmessage "-=GParted-0.4.5=- has been installed." `jwm -display :0.0 -restart` ;
rox --pinboard=/root/Choices/ROX-Filer/PuppyPin ;


Edit: 2012, aug 18.


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

<--- INSTALLATION

_________________
  • 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.


Last edited by postfs1 on Sat 01 Nov 2014, 17:52; edited 2 times in total
Back to top
View user's profile Send private message 
postfs1


Joined: 27 Mar 2010
Posts: 831

PostPosted: Sat 18 Aug 2012, 15:08    Post subject:  

DEINSTALLATION --->

Quote:

Remove_GParted--sr0.sh
Code:

#!/bin/bash
#
cd /room ;
#
if [ `grep -w -s -c 'gparted_0.4.5-2ubuntu1_i386.deb..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/gparted_0.4.5-2ubuntu1_i386.deb..rm/d' /usr/local/etc/GParted.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/GParted/Ubuntu-Karmic_files/gparted_0.4.5-2ubuntu1_i386.deb ;
if [ ! `echo -e "75ca0c7c837cd40f0c00c7d25be5e9cb  gparted_0.4.5-2ubuntu1_i386.deb" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
bash -c "`dpkg-deb -c gparted_0.4.5-2ubuntu1_i386.deb | cut -d '/' -f 3- | sed 's/->/#/' | cut -d '#' -f -1 | sed 's/^/rm -f \//' | sed 's/ $//' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
#bash -c "`dpkg-deb -c gparted_0.4.5-2ubuntu1_i386.deb | cut -d '/' -f 3- | sed 's/->/#/' | cut -d '#' -f -1 | cut -d '/' -f 2-3 | sort -u | grep \"/\" | grep -v \"/$\" | sed 's/^/find \//' | sed 's/$/ -type d -empty -delete ;/'`" ;
#
bash -c "`dpkg-deb -c gparted_0.4.5-2ubuntu1_i386.deb | cut -d '/' -f 3- | sed 's/->/#/' | cut -d '#' -f -1 | sed 's/usr\//\/usr\//' | rev | cut -d '/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/' | grep '/'`" ;
sed -i '/gparted_0.4.5-2ubuntu1_i386.deb..rm/d' /usr/local/etc/GParted.dsktop ;
rm /room/gparted_0.4.5-2ubuntu1_i386.deb ;
rm /room/.md-5.sm ;
fi ;
#deb1
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'libparted1.8-12_1.8.8.git.2009.06.03-1ubuntu6_i386.deb..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/libparted1.8-12_1.8.8.git.2009.06.03-1ubuntu6_i386.deb..rm/d' /usr/local/etc/GParted.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/GParted/Ubuntu-Karmic_files/libparted1.8-12_1.8.8.git.2009.06.03-1ubuntu6_i386.deb ;
if [ ! `echo -e "926a1ddf72da5d196aef4b22b6c50dc0  libparted1.8-12_1.8.8.git.2009.06.03-1ubuntu6_i386.deb" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
bash -c "`dpkg-deb -c libparted1.8-12_1.8.8.git.2009.06.03-1ubuntu6_i386.deb | cut -d '/' -f 3- | sed 's/->/#/' | cut -d '#' -f -1 | sed 's/^/rm -f \//' | sed 's/ $//' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
#bash -c "`dpkg-deb -c libparted1.8-12_1.8.8.git.2009.06.03-1ubuntu6_i386.deb | cut -d '/' -f 3- | sed 's/->/#/' | cut -d '#' -f -1 | cut -d '/' -f 2-3 | sort -u | grep \"/\" | grep -v \"/$\" | sed 's/^/find \//' | sed 's/$/ -type d -empty -delete ;/'`" ;
#
bash -c "`dpkg-deb -c libparted1.8-12_1.8.8.git.2009.06.03-1ubuntu6_i386.deb | cut -d '/' -f 3- | sed 's/->/#/' | cut -d '#' -f -1 | sed 's/usr\//\/usr\//' | rev | cut -d '/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/' | grep '/'`" ;
sed -i '/libparted1.8-12_1.8.8.git.2009.06.03-1ubuntu6_i386.deb..rm/d' /usr/local/etc/GParted.dsktop ;
rm /room/libparted1.8-12_1.8.8.git.2009.06.03-1ubuntu6_i386.deb ;
rm /room/.md-5.sm ;
fi ;
#deb2
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'gtkmm24-2.16.0-1.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/gtkmm24-2.16.0-1.fc11.i586.rpm..rm/d' /usr/local/etc/GParted.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/GParted/Fedora-11_files/gtkmm24-2.16.0-1.fc11.i586.rpm ;
if [ ! `echo -e "44d312d2fbcf73daa238874c9d162f9e  gtkmm24-2.16.0-1.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
bash -c "`rpm -qp -l gtkmm24-2.16.0-1.fc11.i586.rpm | sed 's/^/rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
#bash -c "`rpm -qp -l gtkmm24-2.16.0-1.fc11.i586.rpm | cut -d '/' -f -3 | sort -u | grep \"/\" | grep -v \"/$\" | sed 's/^/find /' | sed 's/$/ -type d -empty -delete ;/'`" ;
#
bash -c "`rpm -qp -l gtkmm24-2.16.0-1.fc11.i586.rpm | rev | cut -d'/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/'`" ;
sed -i '/gtkmm24-2.16.0-1.fc11.i586.rpm..rm/d' /usr/local/etc/GParted.dsktop ;
rm /room/gtkmm24-2.16.0-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#1
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'glibmm24-2.20.2-1.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/glibmm24-2.20.2-1.fc11.i586.rpm..rm/d' /usr/local/etc/GParted.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/GParted/Fedora-11_files/glibmm24-2.20.2-1.fc11.i586.rpm ;
if [ ! `echo -e "258794edb299ebc72b6511f453d230fd  glibmm24-2.20.2-1.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
bash -c "`rpm -qp -l glibmm24-2.20.2-1.fc11.i586.rpm | sed 's/^/rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
#bash -c "`rpm -qp -l glibmm24-2.20.2-1.fc11.i586.rpm | cut -d '/' -f -3 | sort -u | grep \"/\" | grep -v \"/$\" | sed 's/^/find /' | sed 's/$/ -type d -empty -delete ;/'`" ;
#
bash -c "`rpm -qp -l glibmm24-2.20.2-1.fc11.i586.rpm | rev | cut -d'/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/'`" ;
sed -i '/glibmm24-2.20.2-1.fc11.i586.rpm..rm/d' /usr/local/etc/GParted.dsktop ;
rm /room/glibmm24-2.20.2-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#2
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'pangomm-2.24.0-1.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/pangomm-2.24.0-1.fc11.i586.rpm..rm/d' /usr/local/etc/GParted.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/GParted/Fedora-11_files/pangomm-2.24.0-1.fc11.i586.rpm ;
if [ ! `echo -e "90c36daecf5444ea7238355d1f1b432a  pangomm-2.24.0-1.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
bash -c "`rpm -qp -l pangomm-2.24.0-1.fc11.i586.rpm | sed 's/^/rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
#bash -c "`rpm -qp -l pangomm-2.24.0-1.fc11.i586.rpm | cut -d '/' -f -3 | sort -u | grep \"/\" | grep -v \"/$\" | sed 's/^/find /' | sed 's/$/ -type d -empty -delete ;/'`" ;
#
bash -c "`rpm -qp -l pangomm-2.24.0-1.fc11.i586.rpm | rev | cut -d'/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/'`" ;
sed -i '/pangomm-2.24.0-1.fc11.i586.rpm..rm/d' /usr/local/etc/GParted.dsktop ;
rm /room/pangomm-2.24.0-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#3
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'cairomm-1.8.0-1.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/cairomm-1.8.0-1.fc11.i586.rpm..rm/d' /usr/local/etc/GParted.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/GParted/Fedora-11_files/cairomm-1.8.0-1.fc11.i586.rpm ;
if [ ! `echo -e "3bcb22fe5d115b9543e8b8a76b845b03  cairomm-1.8.0-1.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
bash -c "`rpm -qp -l cairomm-1.8.0-1.fc11.i586.rpm | sed 's/^/rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
#bash -c "`rpm -qp -l cairomm-1.8.0-1.fc11.i586.rpm | cut -d '/' -f -3 | sort -u | grep \"/\" | grep -v \"/$\" | sed 's/^/find /' | sed 's/$/ -type d -empty -delete ;/'`" ;
#
bash -c "`rpm -qp -l cairomm-1.8.0-1.fc11.i586.rpm | rev | cut -d'/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/'`" ;
sed -i '/cairomm-1.8.0-1.fc11.i586.rpm..rm/d' /usr/local/etc/GParted.dsktop ;
rm /room/cairomm-1.8.0-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#4
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'libdevmapper1.02.1_1.02.27-4ubuntu7_i386.deb..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/libdevmapper1.02.1_1.02.27-4ubuntu7_i386.deb..rm/d' /usr/local/etc/GParted.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/GParted/Ubuntu-Karmic_files/libdevmapper1.02.1_1.02.27-4ubuntu7_i386.deb ;
if [ ! `echo -e "920c9007ea67cd25369120b179adfc5f  libdevmapper1.02.1_1.02.27-4ubuntu7_i386.deb" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
bash -c "`dpkg-deb -c libdevmapper1.02.1_1.02.27-4ubuntu7_i386.deb | cut -d '/' -f 3- | sed 's/->/#/' | cut -d '#' -f -1 | sed 's/^/rm -f \//' | sed 's/ $//' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
#bash -c "`dpkg-deb -c libdevmapper1.02.1_1.02.27-4ubuntu7_i386.deb | cut -d '/' -f 3- | sed 's/->/#/' | cut -d '#' -f -1 | cut -d '/' -f 2-3 | sort -u | grep \"/\" | grep -v \"/$\" | sed 's/^/find \//' | sed 's/$/ -type d -empty -delete ;/'`" ;
#
bash -c "`dpkg-deb -c libdevmapper1.02.1_1.02.27-4ubuntu7_i386.deb | cut -d '/' -f 3- | sed 's/->/#/' | cut -d '#' -f -1 | sed 's/usr\//\/usr\//' | rev | cut -d '/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/' | grep '/'`" ;
sed -i '/libdevmapper1.02.1_1.02.27-4ubuntu7_i386.deb..rm/d' /usr/local/etc/GParted.dsktop ;
rm /room/libdevmapper1.02.1_1.02.27-4ubuntu7_i386.deb ;
rm /room/.md-5.sm ;
fi ;
#deb3
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -l 'libstdc++-4.4.1-2.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | wc -l` -gt 0 ] ;
then sed -i '/libstdc++-4.4.1-2.fc11.i586.rpm..rm/d' /usr/local/etc/GParted.dsktop ; else
#curl -C - -O file:///mnt/sr0/_Files/GParted/Fedora-11_files/libstdc++-4.4.1-2.fc11.i586.rpm ;
#if [ ! `echo -e "96c934cb092bf073ace9c10cce025f44  libstdc++-4.4.1-2.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
#bash -c "`rpm -qp -l libstdc++-4.4.1-2.fc11.i586.rpm | sed 's/^/rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
#bash -c "`rpm -qp -l libstdc++-4.4.1-2.fc11.i586.rpm | rev | cut -d'/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/'`" ;
#sed -i '/libstdc++-4.4.1-2.fc11.i586.rpm..rm/d' /usr/local/etc/GParted.dsktop ;
#rm /room/libstdc++-4.4.1-2.fc11.i586.rpm ;
#rm /room/.md-5.sm ;
fi ;
#5
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'parted_1.8.8.git.2009.06.03-1ubuntu6_i386.deb..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/parted_1.8.8.git.2009.06.03-1ubuntu6_i386.deb..rm/d' /usr/local/etc/GParted.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/GParted/Ubuntu-Karmic_files/parted_1.8.8.git.2009.06.03-1ubuntu6_i386.deb ;
if [ ! `echo -e "7eb64df5a28453bf439b078b01a0102c  parted_1.8.8.git.2009.06.03-1ubuntu6_i386.deb" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
bash -c "`dpkg-deb -c parted_1.8.8.git.2009.06.03-1ubuntu6_i386.deb | cut -d '/' -f 3- | sed 's/->/#/' | cut -d '#' -f -1 | sed 's/^/rm -f \//' | sed 's/ $//' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
#bash -c "`dpkg-deb -c parted_1.8.8.git.2009.06.03-1ubuntu6_i386.deb | cut -d '/' -f 3- | sed 's/->/#/' | cut -d '#' -f -1 | cut -d '/' -f 2-3 | sort -u | grep \"/\" | grep -v \"/$\" | sed 's/^/find \//' | sed 's/$/ -type d -empty -delete ;/'`" ;
#
bash -c "`dpkg-deb -c parted_1.8.8.git.2009.06.03-1ubuntu6_i386.deb | cut -d '/' -f 3- | sed 's/->/#/' | cut -d '#' -f -1 | sed 's/usr\//\/usr\//' | rev | cut -d '/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/' | grep '/'`" ;
sed -i '/parted_1.8.8.git.2009.06.03-1ubuntu6_i386.deb..rm/d' /usr/local/etc/GParted.dsktop ;
rm /room/parted_1.8.8.git.2009.06.03-1ubuntu6_i386.deb ;
rm /room/.md-5.sm ;
fi ;
#deb4
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'libselinux-2.0.80-1.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/libselinux-2.0.80-1.fc11.i586.rpm..rm/d' /usr/local/etc/GParted.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/GParted/Fedora-11_files/libselinux-2.0.80-1.fc11.i586.rpm ;
if [ ! `echo -e "a33dd8be6e63530f3babeec2e3c03019  libselinux-2.0.80-1.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
bash -c "`rpm -qp -l libselinux-2.0.80-1.fc11.i586.rpm | sed 's/^/rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
#bash -c "`rpm -qp -l libselinux-2.0.80-1.fc11.i586.rpm | cut -d '/' -f -3 | sort -u | grep \"/\" | grep -v \"/$\" | sed 's/^/find /' | sed 's/$/ -type d -empty -delete ;/'`" ;
#
bash -c "`rpm -qp -l libselinux-2.0.80-1.fc11.i586.rpm | rev | cut -d'/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/'`" ;
sed -i '/libselinux-2.0.80-1.fc11.i586.rpm..rm/d' /usr/local/etc/GParted.dsktop ;
rm /room/libselinux-2.0.80-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#6
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# # #
#
#Deletion of empty directories >>>
#find / -maxdepth 1 -type d -empty -exec rmdir {} \; ;
#<<< Deletion of empty directories.
#Deletion of empty directories >>>
#find /etc /lib /root /usr /var -type d -empty -delete ;
#<<< Deletion of empty directories.
#
# # #
#
#
rm /usr/share/applications/GParted.desktop ;
#
if [ `grep -s -c '..rm' /usr/local/etc/GParted.dsktop | awk -F^ '{ sum +=$1 } END { print sum }'` -gt 0 ] ;
then sleep 0.5s ; else
rm /usr/local/etc/GParted.dsktop ; fi ;
#
fixmenus ;
xmessage "-=GParted-0.4.5=- has been almost removed." `jwm -display :0.0 -restart` ;
rox --pinboard=/root/Choices/ROX-Filer/PuppyPin ;


Edit: 2012, aug 18.


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

<--- DEINSTALLATION

_________________
  • 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 from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


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