Compare commits
2
Commits
f378518da4
...
d26d345cbb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d26d345cbb | ||
|
|
70cf072525 |
No files matched your search
@@ -70,3 +70,7 @@ DEV-*
|
|||||||
Config/Prosody/conf.avail
|
Config/Prosody/conf.avail
|
||||||
Config/Prosody/etc/conf.avail
|
Config/Prosody/etc/conf.avail
|
||||||
Config/Prosody/etc/
|
Config/Prosody/etc/
|
||||||
|
|
||||||
|
# Ignore private F-Droid Config.
|
||||||
|
Config/F-DroidRepo/files/keystore.p12
|
||||||
|
Config/F-DroidRepo/files/config.yml
|
||||||
@@ -19,19 +19,13 @@ mkdir -pv $FDROID_DATA
|
|||||||
|
|
||||||
keystore="$DIR"/files/keystore.p12
|
keystore="$DIR"/files/keystore.p12
|
||||||
if [[ ! -f "$keystore" ]]; then
|
if [[ ! -f "$keystore" ]]; then
|
||||||
echo "ERROR: $keystore not detected. Please create it using 'keytool', like this:"
|
echo "ERROR: $keystore not detected. Please create it and config.yml using 'fdroid init'."
|
||||||
cat <<- EOF
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
keytool -genkeypair -v \\
|
config="$DIR"/files/config.yml
|
||||||
-storetype PKCS12 \\
|
if [[ ! -f "$config" ]]; then
|
||||||
-keystore keystore.p12 \\
|
echo "ERROR: $config not detected. Please copy the file that came with your keystore.p12 from 'fdroid init'."
|
||||||
-alias fdroid \\
|
|
||||||
-keyalg RSA -keysize 4096 \\
|
|
||||||
-validity 10000 \\
|
|
||||||
-dname "CN=YourName, OU=F-Droid"
|
|
||||||
|
|
||||||
EOF
|
|
||||||
echo "It will ask for passwords, it's recommended to make them both the same."
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user