fdroid, remove the note about manually creating a key.

This commit is contained in:
me committed 2026-11-01 15:41:03 -07:00
1 parent f378518da4
commit 70cf072525
1 file changed
+6 -12
+6 -12
View File
@@ -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