Created
June 13, 2011 17:23
-
-
Save takamii/1023237 to your computer and use it in GitHub Desktop.
既存ファイルの置き換え処理をするprerm。ファイル権限は755に。Localizable.stringsをLocalizable.strings.modに戻し、退避しておいたLocalizable.strings.bakをLocalizable.stringsに戻す。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
DIR="/Library/Activator/ja.lproj" | |
FILE="Localizable.strings" | |
mv ${DIR}/${FILE} ${DIR}/${FILE}.mod | |
if [ -e ${DIR}/${FILE}.bak ]; then | |
mv ${DIR}/${FILE}.bak ${DIR}/${FILE} | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment