Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 42579 Details for
Bug 25756
domenu command, required for global menu system (#18638)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
doicon
doicon (text/plain), 946 bytes, created by
Heinrich Wendel (RETIRED)
on 2004-10-25 14:17:04 UTC
(
hide
)
Description:
doicon
Filename:
MIME Type:
Creator:
Heinrich Wendel (RETIRED)
Created:
2004-10-25 14:17:04 UTC
Size:
946 bytes
patch
obsolete
>#!/usr/bin/env python >############################################################## ># Python script to install a new icons in /usr/share/pixmaps # ># Usage: # ># - doicon file1 file2 file3 ... # ># - doicon dir1 dir2 dir3 ... # ># - doicon file1 dir1 ... # >############################################################# > >import sys, os, re > >def doicon(path): > if os.path.isfile(path): > if re.search(".png$", path): > print ">>> doicon: installing " + path + " icon..." > os.system("install -m0644 " + path + " " + os.path.join(D, "usr/share/pixmaps")) > > elif os.path.isdir(path): > ls = os.listdir(path) > for i in ls: > doicon(os.path.join(path, i)) > > >D = os.getenv("D") > >os.system("install -d " + os.path.join(D, "usr/share/pixmaps")) > >for i in range(1,len(sys.argv)): > doicon(sys.argv[i])
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 25756
:
15360
|
15361
|
15362
|
17313
|
17826
|
18315
|
30438
|
42578
|
42579
|
43733
|
43775
|
43948