-
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

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT
$7.99

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$24.00

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module
$699.99

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter
$27.50

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver
$5.40

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+
$16.99

Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA
$28.94

Lenovo 00YK615 Intel X710-DA2 10GbE 2-port SFP+ PCI-E FC Network Adapter NIC
$27.99

Arista SFP-10G-SR 10GBASE-SR XVR-10001-20 850nm SFP+ Optical Transceiver
$20.70

CISCO 10GBASE-SR SFP "Lot of 4” SFP-10G-SR
$47.99