SHA256
1
0
forked from pool/tigervnc
tigervnc/vncpasswd.arg
Michal Srb 95d64b14ff Accepting request 222208 from home:michalsrb:branches:X11:XOrg
- Readd vncpasswd.arg for compatibility with installation system
  and potentially another users. (bnc#855246)

OBS-URL: https://build.opensuse.org/request/show/222208
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=15
2014-02-13 14:57:22 +00:00

11 lines
159 B
Bash

#!/bin/sh
# Compatibility replacement for vncpasswd.arg.
if [ $# -ne 2 ]; then
echo "Usage: $0 file password"
exit 1
fi
echo "$2" | vncpasswd -f > "$1"