5 print ("Welcome to npp-installer. You must be running a Debain-based (apt-get) distro for this script to work.")
6 wineok
= raw_input("Do you have Wine installed? y/n >>> ")
10 distro
= raw_input("Are you running Ubuntu? y/n >>> ")
13 os
.system ("sudo apt-get install wine")
15 username
= raw_input("What is your username? As in /home/user/? >>> ")
16 os
.system ("su apt-get install wine")
17 returnUser
= "su %s" % (username
)
18 os
.system (returnUser
)
20 os
.system("wget http://easynews.dl.sourceforge.net/sourceforge/notepad-plus/npp.4.3.Installer.exe")
22 os
.system("wine ./npp.4.3.Installer.exe")
24 print "You may be able to find a shortcut in your menu know. Otherwise, you can find NPP in your ~/.wine subdirectory"