[Xfce4-commits] CVS: xfce4/xfwm4-themes/themes/gorilla Makefile.am, 1.3, 1.4 Makefile.in, 1.7, 1.8

Olivier Fourdan fourdan at xfce.org
Sat Apr 24 14:22:43 CEST 2004


Hi Benny,

Ok for pax... I'm committing.

Thaks for suggesting pax, I completely forgot about it, it indeed makes
things a lot simpler :)

Cheers,
Olivier.

On Sat, 2004-04-24 at 12:15, Benedikt Meurer wrote:
> Olivier,
> 
> >  install-themeDATA:
> > -	rm -Rf $(DESTDIR)$(themedir); \
> > -	$(mkinstalldirs) $(DESTDIR)$(themedir); \
> > -	tar cf - $(theme_DATA) | ( cd $(DESTDIR)$(themedir) ; tar xf - ); \
> > -	if test `id -u` = "0"; then \
> > -	    chown root:root $(DESTDIR)$(themedir); \
> > -	    chown root:root $(DESTDIR)$(themedir)/*; \
> > -	fi; \
> > -	chmod 755 $(DESTDIR)$(themedir); \
> > -	chmod 644 $(DESTDIR)$(themedir)/*
> > +	rm -Rf $(DESTDIR)$(themedir); 					\
> > +	$(mkinstalldirs) $(DESTDIR)$(themedir); 			\
> > +	tar cf - $(theme_DATA) | (cd $(DESTDIR)$(themedir) ; tar xf - --no-same-owner)
> 
> Please revert this change, since it breaks w/ nearly every system, except 
> those where tar is gtar. So, please, either use gtar or don't use GNU tar options.
> 
> BTW: How about the POSIX.2 way of doing things?
> 
> 	pax -rw $(theme_DATA) $(DESTDIR)$(themedir)
> 
> This is simpler, tho some systems still don't ship pax. But I think every 
> system that Xfce runs on is somewhat POSIX.2 compliant.
> 
> regards,
> Benedikt
-- 
 - Olivier Fourdan - fourdan at xfce.org - http://www.xfce.org - 




More information about the Xfce4-dev mailing list