mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
* openfile.c (copy_options_file): Use gpg-conf.skel
* Makefile.am: Install options.skel as gpg-conf.skel.
This commit is contained in:
parent
2a09a35ad0
commit
452e415784
@ -1,3 +1,8 @@
|
|||||||
|
2004-08-31 Werner Koch <wk@g10code.de>
|
||||||
|
|
||||||
|
* openfile.c (copy_options_file): Use gpg-conf.skel
|
||||||
|
* Makefile.am: Install options.skel as gpg-conf.skel.
|
||||||
|
|
||||||
2004-08-18 Marcus Brinkmann <marcus@g10code.de>
|
2004-08-18 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
* passphrase.c (agent_get_passphrase): Fix detection of gpg-agent
|
* passphrase.c (agent_get_passphrase): Fix detection of gpg-agent
|
||||||
|
@ -117,5 +117,5 @@ $(PROGRAMS): $(needed_libs)
|
|||||||
install-data-local:
|
install-data-local:
|
||||||
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
||||||
$(INSTALL_DATA) $(srcdir)/options.skel \
|
$(INSTALL_DATA) $(srcdir)/options.skel \
|
||||||
$(DESTDIR)$(pkgdatadir)/options.skel
|
$(DESTDIR)$(pkgdatadir)/gpg-conf.skel
|
||||||
|
|
||||||
|
@ -309,7 +309,7 @@ copy_options_file( const char *destdir )
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
fname = xmalloc ( strlen(datadir) + strlen(destdir) + 15 );
|
fname = xmalloc ( strlen(datadir) + strlen(destdir) + 15 );
|
||||||
strcpy(stpcpy(fname, datadir), DIRSEP_S "options" SKELEXT );
|
strcpy(stpcpy(fname, datadir), DIRSEP_S "gpg-conf" SKELEXT );
|
||||||
src = fopen( fname, "r" );
|
src = fopen( fname, "r" );
|
||||||
if( !src ) {
|
if( !src ) {
|
||||||
log_error(_("%s: can't open: %s\n"), fname, strerror(errno) );
|
log_error(_("%s: can't open: %s\n"), fname, strerror(errno) );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user