-
Senior Member
registered user
[SCRIPT] install mldonkey filesharing application on the fly
Downloads and installs mldonkey (http://www.mldonkey.org/) and the GUI and creates desktop icons.
Code:
#!/bin/bash
# knx_mldonkey.sh 0.1
# Install mldonkey filesharing application http://www.mldonkey.org/
# by probono
# GPL
if [ -f "mldonkey-2.04rc1-0.static.i686-Linux.tar.bz2" ];
then
cp mldonkey-2.04rc1-0.static.i686-Linux.tar.bz2 ~/
cd ~/
else
cd ~/
wget http://savannah.nongnu.org/download/...-Linux.tar.bz2
fi
tar jxf mldonkey-2.04rc1-0.static.i686-Linux.tar.bz2 -C ~/
mv ~/mldonkey-distrib-2.04rc1-0 ~/.mldonkey
rm -rf mldonkey-2.04rc1-0.static.i686-Linux.tar.bz2
mkdir -p ~/Desktop/
cat >> ~/Desktop/mldonkey.desktop <<EOF
[Desktop Entry]
Encoding=UTF-8
Exec=cd ~/.mldonkey; ./mldonkey
Icon=network
MimeType=
Name=mldonkey
Path=
ServiceTypes=
SwallowExec=
SwallowTitle=
Terminal=false
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=
EOF
cat >> ~/Desktop/mldonkey_gui.desktop <<EOF
[Desktop Entry]
Encoding=UTF-8
Exec=cd ~/.mldonkey; ./mldonkey_gui
Icon=network
MimeType=
Name=mldonkey
Path=
ServiceTypes=
SwallowExec=
SwallowTitle=
Terminal=false
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=
EOF
cat >> ~/Desktop/FAQ.desktop <<EOF
[Desktop Entry]
Encoding=UTF-8
Icon=html
Type=Link
URL=~/.mldonkey/FAQ.html
EOF
cat >> ~/Desktop/incoming.desktop <<EOF
[Desktop Entry]
Encoding=UTF-8
Icon=folder_html
Type=Link
URL=~/.mldonkey/incoming
EOF
Similar Threads
-
By mkjtravel in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 10-30-2004, 05:02 AM
-
By rickwinters in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 04-21-2004, 08:19 AM
-
By Edwin in forum Networking
Replies: 5
Last Post: 07-14-2003, 08:01 AM
-
By raid517 in forum Ideas
Replies: 4
Last Post: 06-08-2003, 08:00 AM
-
By BionicToothpick in forum The Lounge
Replies: 0
Last Post: 12-11-2002, 06:39 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Samsung 256 GB Internal SATA SSD Fully Tested 80-99% Health
$28.00

ON SALE TURBOLINK EVO 4TB V-HAND SSD 2.5 SATA III Internal Solid State Drive
$199.99

Toshiba THNSN81Q92CSE 1920GB SATA 2.5 Solid State Drive
$199.00

Western Digital Blue 3D NAND 250GB 2.5" SATA III Internal SSD - WDS250G2B0A
$29.99

256GB mSATA SSD DRIVE MIXED BRAND TESTED WORKING
$23.50

Fikwot 512GB SATA SSD 2.5'' SSD SATA III 6Gb/s Internal Solid State Drive 560MBs
$66.00

SAMSUNG SSD 512GB 500GB 480GB 256GB 250GB 240GB SSD 2.5 Solide State Drive 6Gbps
$79.99

Crucial MX500 CT250MX500SSD1 250 GB SATA III 2.5 in Solid State Drive
$24.99

Netac 120GB 256GB 1TB 2TB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot
$119.99

Samsung 860 EVO 2TB 2.5" SATA III 3D NAND SSD MZ-76E2T0 95%-100% Health
$207.00