[aquaskk-changes 145] CVS update: AquaSKK/Package/scripts

Tomotaka SUWA t-suw****@users*****
2006年 2月 19日 (日) 13:50:55 JST


Index: AquaSKK/Package/scripts/postflight
diff -u /dev/null AquaSKK/Package/scripts/postflight:1.1.2.1
--- /dev/null	Sun Feb 19 13:50:55 2006
+++ AquaSKK/Package/scripts/postflight	Sun Feb 19 13:50:55 2006
@@ -0,0 +1,33 @@
+#!/bin/sh
+
+# domain
+OLD_DOMAIN="org.ccm-software.AquaSKKServer"
+NEW_DOMAIN="jp.sourceforge.AquaSKKServer"
+PLIST_FILE=~/Library/Preferences/$NEW_DOMAIN.plist
+
+# already exists ?
+if [ -f $PLIST_FILE ]; then
+    echo "[$PLIST_FILE] already exists."
+    exit
+fi
+
+# copy old user defaults
+defaults read $OLD_DOMAIN > $PLIST_FILE
+
+# rename keys
+defaults rename $NEW_DOMAIN dic.FontName.Window candidates_font_name
+defaults rename $NEW_DOMAIN dic.FontSize.Window candidates_font_size
+defaults rename $NEW_DOMAIN dic.WindowAlpha.kotoeri candidates_window_alpha
+defaults rename $NEW_DOMAIN dic.WindowColor.kotoeri candidates_window_color
+defaults rename $NEW_DOMAIN dic.skk-egg-like-newline.kotoeri egg_like_newline
+defaults rename $NEW_DOMAIN ForceASCIImodeStartup force_ascii_mode_startup
+defaults rename $NEW_DOMAIN KeyboardLayoutIdentifier keyboard_layout_id
+defaults rename $NEW_DOMAIN dic.NumericKeypad_HalfWidth.kotoeri numkeypad_must_halfwidth
+defaults rename $NEW_DOMAIN pref.skkserv.enabled skkserv_enabled
+defaults rename $NEW_DOMAIN pref.skkserv.local-only skkserv_localonly
+defaults rename $NEW_DOMAIN pref.skkserv.port skkserv_port
+
+# delete unused keys
+defaults delete $NEW_DOMAIN dic.path.kotoeri
+defaults delete $NEW_DOMAIN dic.path.main
+defaults delete $NEW_DOMAIN dic.path.sub


aquaskk-changes メーリングリストの案内