-
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

TP-Link 5-Port Gigabit Unmanaged Ethernet Switch Network Expansion TL-SG105
$19.95

5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play
$31.99

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch
$49.99

NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (Gs305) - Desktop Quiet Fanless
$22.00

TP-LINK TL-SG108 8-Port Gigabit Unmanaged Desktop Switch RJ-45 New in Box
$23.99

Netgear PROSAFE 8-Port 10 Gigabit/Multi-Gigabit Ethernet Switch XS508M
$229.99

Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts
$69.00

Linksys 8-Port Managed Gigabit PoE+ Switch 110W w/ 2 Uplink Gigabit - LGS310MPC
$49.05

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch
$46.99

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W
$39.99