manpage says scripts are in XDG_DATA_DIR/session-migration/scripts but they aren't

Bug #1192795 reported by Jeremy Bicha on 2013-06-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
session-migration (Ubuntu)
Undecided
Unassigned

Bug Description

According to the manpage[1], scripts are executable files located in XDG_DATA_DIR/session-migration/scripts.

When I look in ~/.local/share/ I don't see a session-migration/ directory but I do see several files:

session_migration-gnome
session_migration-gnome-classic
session_migration-gnome-fallback
session_migration-gnome-fallback-compiz
session_migration-gnome-flashback
session_migration-gnome-flashback-compiz
session_migration-(null)
session_migration-ubuntu
session_migration-ubuntu2

These files aren't marked as executable and aren't scripts. I guess those files indicate that the scripts have been run.

Recommendations
1. Store those files in their own directory so that the root XDG_DATA_DIR directory isn't cluttered with them.
2. Please update the manpage to explain what's going on here. I'm guessing that the script might be deleted after they are ran?

[1] http://manpages.ubuntu.com/manpages/raring/man1/session-migration.1.html

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: session-migration 0.2
ProcVersionSignature: Ubuntu 3.9.0-6.13-generic 3.9.6
Uname: Linux 3.9.0-6-generic x86_64
ApportVersion: 2.10.2-0ubuntu1
Architecture: amd64
Date: Wed Jun 19 23:20:45 2013
InstallationDate: Installed on 2013-06-14 (5 days ago)
InstallationMedia: Ubuntu-GNOME 13.10 "Saucy Salamander" - Alpha amd64 (20130613)
MarkForUpload: True
SourcePackage: session-migration
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jeremy Bicha (jbicha) wrote :
Revision history for this message
Jeremy Bicha (jbicha) wrote :

Also, the manpage doesn't give any information about how to write these scripts. Please at least include an example script in this manpage or the one for dh_migrations.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers