This file contains hidden or 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
cd s3cmd-1.0.1 | |
python setup.py install | |
s3cmd --configure # to install the key and bucket info | |
You'll be prompted for Amazon account ID and secret key. You can | |
get this by logging in to your Amazon account and visiting the | |
connection-info screen, or from your secure credentials if you | |
have them. | |
You'll also be asked for a key to use for encrypting S3 |
This file contains hidden or 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
--- a/uuid_node/uuid_node.module | |
+++ b/uuid_node/uuid_node.module | |
@@ -10,7 +10,7 @@ function uuid_node_node_presave($node) { | |
$node->uuid = uuid_uuid(); | |
} | |
- if (1 == $node->revision) { | |
+ if (isset($node->revision) && 1 == $node->revision) { | |
$node->vuuid = uuid_uuid(); | |
} |
NewerOlder