Offset 13, 16 lines modified | Offset 13, 16 lines modified | ||
13 | my·$bindir·=·"${prefix}/bin"; | 13 | my·$bindir·=·"${prefix}/bin"; |
14 | my·$datadir·=·"${prefix}/share"; | 14 | my·$datadir·=·"${prefix}/share"; |
15 | my·$ftDataDir·=·"${datadir}/fvwm"; | 15 | my·$ftDataDir·=·"${datadir}/fvwm"; |
16 | my·$version·=·'0.7.0'; | 16 | my·$version·=·'0.7.0'; |
17 | my·$fvwmVersion·=·'2.6.5'; | 17 | my·$fvwmVersion·=·'2.6.5'; |
18 | my·$fvwmDefaultImagePath·=·'/usr/include/X11/bitmaps:/usr/include/X11/pixmaps'; | 18 | my·$fvwmDefaultImagePath·=·'/usr/include/X11/bitmaps:/usr/include/X11/pixmaps'; |
19 | my·$versionInfo·=·'fvwm-themes·0.7.0·built·on·Jun·1 | 19 | my·$versionInfo·=·'fvwm-themes·0.7.0·built·on·Jun·11·2016·at·19:29:53'; |
20 | my·$buildId·=·'build·1 | 20 | my·$buildId·=·'build·11-Jun-2016·19:29:53'; |
21 | my·$scriptName·=·($0·=~·m:([^/]+)$:,·$1); | 21 | my·$scriptName·=·($0·=~·m:([^/]+)$:,·$1); |
22 | my·$scriptFile·=·"$bindir/$scriptName"; | 22 | my·$scriptFile·=·"$bindir/$scriptName"; |
23 | my·$rcFile·=·"themes-rc"; | 23 | my·$rcFile·=·"themes-rc"; |
24 | my·$rcFile2·=·"$rcFile-2"; | 24 | my·$rcFile2·=·"$rcFile-2"; |
25 | #·maybe·we·may·use·.$rcFile-3 | 25 | #·maybe·we·may·use·.$rcFile-3 |
26 | my·$rcFile3·=·"$rcFile-3"; | 26 | my·$rcFile3·=·"$rcFile-3"; |
Offset 96, 15 lines modified | Offset 96, 15 lines modified | ||
96 | » » echo·"[FVWM-Themes]:·Initial·$session·FVWM·Themes·session" | 96 | » » echo·"[FVWM-Themes]:·Initial·$session·FVWM·Themes·session" |
97 | » fi | 97 | » fi |
98 | » ${prefix}/bin/fvwm-themes-config·--reset | 98 | » ${prefix}/bin/fvwm-themes-config·--reset |
99 | » ${prefix}/bin/fvwm-themes-config·--load·@personal·2>/dev/null | 99 | » ${prefix}/bin/fvwm-themes-config·--load·@personal·2>/dev/null |
100 | else | 100 | else |
101 | » #·different·build·id·may·mean·that·themes·or·prefix·were·changed, | 101 | » #·different·build·id·may·mean·that·themes·or·prefix·were·changed, |
102 | » #·be·safe·and·refresh·in·this·case | 102 | » #·be·safe·and·refresh·in·this·case |
103 | » if·[·"`echo·$HEADERS_LINE·|·cut·-d'·'·-f4-`"·!=·"build·1 | 103 | » if·[·"`echo·$HEADERS_LINE·|·cut·-d'·'·-f4-`"·!=·"build·11-Jun-2016·19:29:53"·];·then |
104 | » » echo·"[FVWM-Themes]:·A·new·0.7.0·build·detected;·refreshing·configuration" | 104 | » » echo·"[FVWM-Themes]:·A·new·0.7.0·build·detected;·refreshing·configuration" |
105 | » » ${prefix}/bin/fvwm-themes-config·--fresh | 105 | » » ${prefix}/bin/fvwm-themes-config·--fresh |
106 | » fi | 106 | » fi |
107 | fi | 107 | fi |
108 | #·check·that·/usr/local/bin·is·in·$PATH·and·first·for·fvwm-config | 108 | #·check·that·/usr/local/bin·is·in·$PATH·and·first·for·fvwm-config |
109 | if·[·"`which·fvwm-config·2>/dev/null`"·!=·"/usr/local/bin/fvwm-config"·];·then | 109 | if·[·"`which·fvwm-config·2>/dev/null`"·!=·"/usr/local/bin/fvwm-config"·];·then |