Changeset 11785
- Timestamp:
- Jan 30, 2011, 1:33:53 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/platform.c
r11709 r11785 370 370 } 371 371 372 /** 373 * This function is for transmission-gtk users to migrate the config files 374 * from $HOME/.transmission/ (where they were kept before Transmission 1.30) 375 * to $HOME/.config/$appname as per the XDG directory spec. 376 */ 372 377 static void 373 378 migrateFiles( const tr_session * session ) 374 379 { 375 380 static int migrated = FALSE; 376 377 if( !migrated ) 381 const tr_bool should_migrate = strstr( getOldConfigDir(), ".transmission" ) != NULL; 382 383 if( !migrated && should_migrate ) 378 384 { 379 385 const char * oldDir;
Note: See TracChangeset
for help on using the changeset viewer.