snap,snappy,systemd: %s/\<AppArch\>/SnapArch/g #598

Merged
merged 1 commit into from Mar 8, 2016
Jump to file or symbol
Failed to load files and symbols.
+5 −5
Split
@@ -67,7 +67,7 @@ func GetBasicSnapEnvVars(desc interface{}) []string {
"SNAP_VERSION={{.Version}}",
"SNAP_ORIGIN={{.Origin}}",
"SNAP_FULLNAME={{.UdevAppName}}",
- "SNAP_ARCH={{.AppArch}}",
+ "SNAP_ARCH={{.SnapArch}}",
})
}
View
@@ -91,7 +91,7 @@ ubuntu-core-launcher {{.UdevAppName}} {{.AaProfile}} {{.Target}} "$@"
t := template.Must(template.New("wrapper").Parse(wrapperTemplate))
wrapperData := struct {
SnapName string
- AppArch string
+ SnapArch string
AppPath string
Version string
UdevAppName string
@@ -103,7 +103,7 @@ ubuntu-core-launcher {{.UdevAppName}} {{.AaProfile}} {{.Target}} "$@"
NewAppVars string
}{
SnapName: m.Name,
- AppArch: arch.UbuntuArchitecture(),
+ SnapArch: arch.UbuntuArchitecture(),
AppPath: pkgPath,
Version: m.Version,
UdevAppName: udevPartName,
View
@@ -52,7 +52,7 @@ func stripGlobalRootDirImpl(dir string) string {
func makeSnapHookEnv(part *SnapPart) (env []string) {
desc := struct {
SnapName string
- AppArch string
+ SnapArch string
AppPath string
Version string
UdevAppName string
View
@@ -390,7 +390,7 @@ WantedBy={{.ServiceSystemdTarget}}
AppTriple string
ServiceSystemdTarget string
Origin string
- AppArch string
+ SnapArch string
Home string
EnvVars string
SocketFileName string