fix ebuild

fix background color
This commit is contained in:
Martinez 2015-12-26 16:11:58 +01:00
parent 10345f6e3a
commit d5d5376e47
2 changed files with 7 additions and 5 deletions

View file

@ -24,11 +24,13 @@ src_compile() {
src_install() {
insopts -m755
insinto /usr/share/libexec/
newexe libexec/render.py ${PN}.py
insinto /usr/libexec/
newins libexec/render.py ${PN}.py
insinto /usr/share/${PN}/
doexe share/zsh-init
doins share/zsh-init
insopts -m644
insinto /etc/${PN}/
doins cfg/main.cfg

View file

@ -43,8 +43,8 @@ MOUNT_IGNORE_DIR = ["/dev", "/proc", "/sys"]
GIT_BLACKLIST = ["/var/paludis/repositories"]
def style_color(fg, bg=0):
return "\033[38;5;%dm\033[48;5;%dm" %(fg, bg)
def style_color(fg):
return "\033[38;5;%dm" %(fg)
def style_bold():
return "\033[1m"